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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.008293/0.008293, allocations: 170.4 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 94.8 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.09106/0.09106, allocations: 23.47 MB / 341.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004278, allocations: 8.188 kB / 404.9 MB, free: 41.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1512, allocations: 53.12 MB / 458 MB, free: 6.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5316/0.6828, allocations: 89.52 MB / 0.5347 GB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/0.6832, allocations: 91.2 kB / 0.5348 GB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01294/0.6962, allocations: 3.982 MB / 0.5387 GB, free: 29.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6962, allocations: 3.719 kB / 0.5387 GB, free: 29.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.6962, allocations: 3.938 kB / 0.5387 GB, free: 29.44 MB / 378.7 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.0003675/0.6966, allocations: 352.2 kB / 0.539 GB, free: 29.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6967, allocations: 15.66 kB / 0.5391 GB, free: 29.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.6967, allocations: 6.516 kB / 0.5391 GB, free: 29.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.6968, allocations: 163 kB / 0.5392 GB, free: 28.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.6969, allocations: 3.656 kB / 0.5392 GB, free: 28.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.6969, allocations: 0 / 0.5392 GB, free: 28.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.697, allocations: 52.28 kB / 0.5393 GB, free: 28.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.697, allocations: 0 / 0.5393 GB, free: 28.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.697, allocations: 0 / 0.5393 GB, free: 28.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.697, allocations: 2.438 kB / 0.5393 GB, free: 28.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.6971, allocations: 15.44 kB / 0.5393 GB, free: 28.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.6975, allocations: 340.8 kB / 0.5396 GB, free: 28.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.009e-05/0.6975, allocations: 44.75 kB / 0.5397 GB, free: 28.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/0.6979, allocations: 204.5 kB / 0.5399 GB, free: 28.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.6979, allocations: 35.38 kB / 0.5399 GB, free: 28.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.698, allocations: 3.781 kB / 0.5399 GB, free: 28.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002256/0.6982, allocations: 124.5 kB / 0.54 GB, free: 28.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.6982, allocations: 77.11 kB / 0.5401 GB, free: 27.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.352e-05/0.6983, allocations: 99.09 kB / 0.5402 GB, free: 27.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.6983, allocations: 29.64 kB / 0.5402 GB, free: 27.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.6984, allocations: 84.05 kB / 0.5403 GB, free: 27.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.6984, allocations: 18.58 kB / 0.5403 GB, free: 27.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.6984, allocations: 0 / 0.5403 GB, free: 27.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.058e-05/0.6985, allocations: 314.8 kB / 0.5406 GB, free: 27.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.6985, allocations: 3.875 kB / 0.5406 GB, free: 27.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.6985, allocations: 16.7 kB / 0.5406 GB, free: 27.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.748e-05/0.6985, allocations: 3.906 kB / 0.5406 GB, free: 27.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6985, allocations: 0 / 0.5406 GB, free: 27.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.043e-05/0.6986, allocations: 56.3 kB / 0.5407 GB, free: 27.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.6986, allocations: 6.438 kB / 0.5407 GB, free: 27.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.6987, allocations: 0.875 kB / 0.5407 GB, free: 27.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6987, allocations: 0 / 0.5407 GB, free: 27.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.507e-05/0.6987, allocations: 3.906 kB / 0.5407 GB, free: 27.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.6987, allocations: 0 / 0.5407 GB, free: 27.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.6988, allocations: 0 / 0.5407 GB, free: 27.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.6988, allocations: 7.953 kB / 0.5407 GB, free: 27.34 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.6988, allocations: 113.6 kB / 0.5408 GB, free: 27.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.6989, allocations: 9.766 kB / 0.5408 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.699, allocations: 46.53 kB / 0.5409 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.699, allocations: 0 / 0.5409 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.699, allocations: 0.875 kB / 0.5409 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.699, allocations: 3.656 kB / 0.5409 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.6993, allocations: 272.4 kB / 0.5411 GB, free: 26.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6993, allocations: 3.938 kB / 0.5411 GB, free: 26.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-06/0.6993, allocations: 3.75 kB / 0.5411 GB, free: 26.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.6993, allocations: 4.062 kB / 0.5411 GB, free: 26.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.6993, allocations: 4.156 kB / 0.5411 GB, free: 26.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6993, allocations: 10.8 kB / 0.5412 GB, free: 26.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.6993, allocations: 3.938 kB / 0.5412 GB, free: 26.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.6994, allocations: 229.4 kB / 0.5414 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.6995, allocations: 81.14 kB / 0.5415 GB, free: 26.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.6995, allocations: 8 kB / 0.5415 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.6996, allocations: 0 / 0.5415 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.6996, allocations: 6.484 kB / 0.5415 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.6996, allocations: 0 / 0.5415 GB, free: 26.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.434e-05/0.6996, allocations: 83.16 kB / 0.5415 GB, free: 26.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6996, allocations: 0 / 0.5415 GB, free: 26.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.6999, allocations: 29.92 kB / 0.5416 GB, free: 26.44 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001614/0.7001, allocations: 123.5 kB / 0.5417 GB, free: 26.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.7002, allocations: 47.02 kB / 0.5417 GB, free: 26.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7002, allocations: 0 / 0.5417 GB, free: 26.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.073e-05/0.7003, allocations: 32.05 kB / 0.5418 GB, free: 26.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.7004, allocations: 7.531 kB / 0.5418 GB, free: 26.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.7007, allocations: 156.1 kB / 0.5419 GB, free: 26.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.7011, allocations: 0.6812 MB / 0.5426 GB, free: 25.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.621e-05/0.7012, allocations: 0 / 0.5426 GB, free: 25.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.7012, allocations: 7.438 kB / 0.5426 GB, free: 25.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.7012, allocations: 0 / 0.5426 GB, free: 25.43 MB / 378.7 MB Notification: Performance of Templates: time 0.002501/0.7037, allocations: 467.4 kB / 0.543 GB, free: 25.38 MB / 378.7 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 -lv LOG_STATS > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1)