Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo", uses=false) Using package SolarTherm with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3332,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3332,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 106.2 kB / 16.36 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 196.8 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.2489/0.2489, allocations: 24.83 MB / 295.4 MB, free: 3.176 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.91 kB / 359.3 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.249, allocations: 52.28 MB / 411.6 MB, free: 38.04 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.00219/0.2513, allocations: 1.569 MB / 413.2 MB, free: 36.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008136/0.2521, allocations: 0.6569 MB / 413.8 MB, free: 35.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.2521, allocations: 0 / 413.8 MB, free: 35.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.591e-05/0.2522, allocations: 3.938 kB / 413.8 MB, free: 35.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.859e-05/0.2522, allocations: 7.922 kB / 413.8 MB, free: 35.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.2526, allocations: 75.73 kB / 413.9 MB, free: 35.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.707e-05/0.2526, allocations: 27.84 kB / 413.9 MB, free: 35.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.2527, allocations: 0 / 413.9 MB, free: 35.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.372e-05/0.2527, allocations: 12.44 kB / 414 MB, free: 35.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.851e-05/0.2528, allocations: 14.11 kB / 414 MB, free: 35.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.2528, allocations: 4 kB / 414 MB, free: 35.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.253, allocations: 67.86 kB / 414 MB, free: 35.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.253, allocations: 7.938 kB / 414.1 MB, free: 35.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.253, allocations: 15.92 kB / 414.1 MB, free: 35.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.2532, allocations: 58.58 kB / 414.1 MB, free: 35.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2532, allocations: 4 kB / 414.1 MB, free: 35.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2532, allocations: 0 / 414.1 MB, free: 35.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2532, allocations: 0.5625 kB / 414.1 MB, free: 35.52 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002749/0.2535, allocations: 347.8 kB / 414.5 MB, free: 35.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.2535, allocations: 12.69 kB / 414.5 MB, free: 35.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.2536, allocations: 5.375 kB / 414.5 MB, free: 35.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.06e-05/0.2536, allocations: 168.3 kB / 414.7 MB, free: 34.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2537, allocations: 5.5 kB / 414.7 MB, free: 34.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.2537, allocations: 384 / 414.7 MB, free: 34.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.2538, allocations: 56.38 kB / 414.7 MB, free: 34.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2538, allocations: 5.078 kB / 414.7 MB, free: 34.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.2538, allocations: 0 / 414.7 MB, free: 34.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2538, allocations: 0 / 414.7 MB, free: 34.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.266e-05/0.2538, allocations: 8.781 kB / 414.7 MB, free: 34.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.2541, allocations: 338.6 kB / 415.1 MB, free: 34.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.371e-05/0.2542, allocations: 43.94 kB / 415.1 MB, free: 34.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.2542, allocations: 17.84 kB / 415.1 MB, free: 34.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004152/0.2547, allocations: 212.1 kB / 415.3 MB, free: 34.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.2547, allocations: 40.2 kB / 415.4 MB, free: 34.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.2547, allocations: 0 / 415.4 MB, free: 34.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001802/0.2549, allocations: 50.86 kB / 415.4 MB, free: 34.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.2549, allocations: 77.11 kB / 415.5 MB, free: 33.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.398e-05/0.255, allocations: 107.1 kB / 415.6 MB, free: 33.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.255, allocations: 25.7 kB / 415.6 MB, free: 33.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.255, allocations: 88.08 kB / 415.7 MB, free: 33.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.255, allocations: 13.66 kB / 415.7 MB, free: 33.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.2551, allocations: 13.7 kB / 415.7 MB, free: 33.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.628e-05/0.2551, allocations: 322.8 kB / 416 MB, free: 33.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.2551, allocations: 1.031 kB / 416 MB, free: 33.35 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.2552, allocations: 17.66 kB / 416.1 MB, free: 33.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/0.2552, allocations: 23.38 kB / 416.1 MB, free: 33.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2552, allocations: 0 / 416.1 MB, free: 33.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.959e-05/0.2553, allocations: 51.56 kB / 416.1 MB, free: 33.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2553, allocations: 4 kB / 416.1 MB, free: 33.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2553, allocations: 4 kB / 416.1 MB, free: 33.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2553, allocations: 0 / 416.1 MB, free: 33.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.485e-05/0.2554, allocations: 1.25 kB / 416.1 MB, free: 33.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2554, allocations: 4 kB / 416.1 MB, free: 33.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.2554, allocations: 0 / 416.1 MB, free: 33.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.2554, allocations: 4.531 kB / 416.2 MB, free: 33.23 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.2555, allocations: 125.8 kB / 416.3 MB, free: 33.1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.2555, allocations: 4 kB / 416.3 MB, free: 33.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.134e-05/0.2556, allocations: 46.8 kB / 416.3 MB, free: 33.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2556, allocations: 0 / 416.3 MB, free: 33.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2556, allocations: 11.98 kB / 416.3 MB, free: 33.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2556, allocations: 0 / 416.3 MB, free: 33.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.2558, allocations: 270.5 kB / 416.6 MB, free: 32.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2558, allocations: 4 kB / 416.6 MB, free: 32.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-06/0.2558, allocations: 2.969 kB / 416.6 MB, free: 32.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2559, allocations: 0 / 416.6 MB, free: 32.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.2559, allocations: 4 kB / 416.6 MB, free: 32.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2559, allocations: 3.984 kB / 416.6 MB, free: 32.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2559, allocations: 3.938 kB / 416.6 MB, free: 32.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.526e-05/0.256, allocations: 212.9 kB / 416.8 MB, free: 32.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.256, allocations: 81.09 kB / 416.9 MB, free: 32.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.256, allocations: 4 kB / 416.9 MB, free: 32.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.2561, allocations: 4 kB / 416.9 MB, free: 32.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.2561, allocations: 7.844 kB / 416.9 MB, free: 32.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.2561, allocations: 0 / 416.9 MB, free: 32.37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.037e-05/0.2561, allocations: 79.28 kB / 417 MB, free: 32.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2561, allocations: 0 / 417 MB, free: 32.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000269/0.2564, allocations: 27.92 kB / 417 MB, free: 32.26 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001448/0.2566, allocations: 119.2 kB / 417.1 MB, free: 32.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.624e-05/0.2567, allocations: 45.62 kB / 417.2 MB, free: 32.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2567, allocations: 1.281 kB / 417.2 MB, free: 32.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.2567, allocations: 33.7 kB / 417.2 MB, free: 32.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.257, allocations: 6.25 kB / 417.2 MB, free: 32.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.2572, allocations: 147.9 kB / 417.4 MB, free: 31.87 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2574, allocations: 0.6844 MB / 418.1 MB, free: 31.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.176e-06/0.2574, allocations: 0 / 418.1 MB, free: 31.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.028e-05/0.2574, allocations: 7.438 kB / 418.1 MB, free: 31.15 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2574, allocations: 0 / 418.1 MB, free: 31.15 MB / 318.1 MB Notification: Performance of Templates: time 0.002544/0.2599, allocations: 0.5207 MB / 418.6 MB, free: 30.63 MB / 318.1 MB make -j1 -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.makefile (rm -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe ; mkfifo SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe ; head -c 1048576 < SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe >> ../files/SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.sim & ./SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1)