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.0007983/0.0007984, allocations: 172.4 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.4 MB / 222.3 MB, free: 9.043 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.0007342/0.000734, allocations: 91.08 kB / 270.6 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.09426/0.09426, allocations: 23.52 MB / 342.4 MB, free: 332 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 16 kB / 406.2 MB, free: 54.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07171/0.07209, allocations: 53.1 MB / 459.3 MB, free: 1.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2634/0.3355, allocations: 89.57 MB / 0.536 GB, free: 10.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.3358, allocations: 87.09 kB / 0.5361 GB, free: 10.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01122/0.3471, allocations: 4.003 MB / 0.54 GB, free: 6.297 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3471, allocations: 7.938 kB / 0.54 GB, free: 6.289 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3471, allocations: 0 / 0.54 GB, free: 6.289 MB / 362.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.0002883/0.3474, allocations: 352 kB / 0.5403 GB, free: 5.895 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3474, allocations: 12.03 kB / 0.5403 GB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.3475, allocations: 0.9375 kB / 0.5403 GB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.3476, allocations: 168.2 kB / 0.5405 GB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3476, allocations: 12.36 kB / 0.5405 GB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.3476, allocations: 4.375 kB / 0.5405 GB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.988e-05/0.3477, allocations: 55.97 kB / 0.5406 GB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3478, allocations: 192 / 0.5406 GB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3478, allocations: 3.938 kB / 0.5406 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3478, allocations: 0 / 0.5406 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.3478, allocations: 11.92 kB / 0.5406 GB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.3482, allocations: 333 kB / 0.5409 GB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.081e-05/0.3482, allocations: 57.03 kB / 0.541 GB, free: 5.129 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.3483, allocations: 17.84 kB / 0.541 GB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/0.3486, allocations: 206.1 kB / 0.5412 GB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3486, allocations: 34.56 kB / 0.5412 GB, free: 4.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3487, allocations: 0 / 0.5412 GB, free: 4.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001694/0.3488, allocations: 49.88 kB / 0.5413 GB, free: 4.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.3489, allocations: 81.11 kB / 0.5413 GB, free: 4.672 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.403e-05/0.349, allocations: 105.8 kB / 0.5414 GB, free: 4.559 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.349, allocations: 25.7 kB / 0.5415 GB, free: 4.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.349, allocations: 84.05 kB / 0.5415 GB, free: 4.441 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.349, allocations: 11.91 kB / 0.5415 GB, free: 4.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.349, allocations: 0 / 0.5415 GB, free: 4.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3492, allocations: 314.8 kB / 0.5418 GB, free: 4.113 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.3492, allocations: 3.938 kB / 0.5419 GB, free: 4.109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.874e-05/0.3492, allocations: 21.72 kB / 0.5419 GB, free: 4.082 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.3492, allocations: 21.66 kB / 0.5419 GB, free: 4.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3492, allocations: 0 / 0.5419 GB, free: 4.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.819e-05/0.3493, allocations: 53.53 kB / 0.5419 GB, free: 3.996 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3493, allocations: 4 kB / 0.5419 GB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3494, allocations: 4 kB / 0.542 GB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.3494, allocations: 4.094 kB / 0.542 GB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.489e-05/0.3494, allocations: 0 / 0.542 GB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3494, allocations: 0 / 0.542 GB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.3495, allocations: 4 kB / 0.542 GB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3495, allocations: 0 / 0.542 GB, free: 3.98 MB / 362.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 7.313e-05/0.3496, allocations: 121.6 kB / 0.5421 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.3496, allocations: 0 / 0.5421 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.377e-05/0.3497, allocations: 48.75 kB / 0.5421 GB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3497, allocations: 4.031 kB / 0.5421 GB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3497, allocations: 4 kB / 0.5421 GB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3497, allocations: 0 / 0.5421 GB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.35, allocations: 274.5 kB / 0.5424 GB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.35, allocations: 4 kB / 0.5424 GB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.35, allocations: 3.938 kB / 0.5424 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.35, allocations: 3.938 kB / 0.5424 GB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.35, allocations: 4 kB / 0.5424 GB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.35, allocations: 0 / 0.5424 GB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.35, allocations: 4.281 kB / 0.5424 GB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.3502, allocations: 222.7 kB / 0.5426 GB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.3502, allocations: 77.11 kB / 0.5427 GB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.3502, allocations: 4 kB / 0.5427 GB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.3503, allocations: 4 kB / 0.5427 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.3503, allocations: 3.984 kB / 0.5427 GB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.3503, allocations: 3.969 kB / 0.5427 GB, free: 3.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.13e-05/0.3504, allocations: 87.22 kB / 0.5428 GB, free: 3.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3504, allocations: 0 / 0.5428 GB, free: 3.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.3506, allocations: 28 kB / 0.5428 GB, free: 2.984 MB / 362.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.000154/0.3508, allocations: 127.1 kB / 0.5429 GB, free: 2.852 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.3509, allocations: 33.7 kB / 0.543 GB, free: 2.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3509, allocations: 0 / 0.543 GB, free: 2.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.693e-05/0.3509, allocations: 41.88 kB / 0.543 GB, free: 2.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.3512, allocations: 8 kB / 0.543 GB, free: 2.758 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.3515, allocations: 148.1 kB / 0.5432 GB, free: 2.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.3517, allocations: 0.6809 MB / 0.5438 GB, free: 1.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.464e-06/0.3517, allocations: 0 / 0.5438 GB, free: 1.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.898e-06/0.3517, allocations: 11.44 kB / 0.5438 GB, free: 1.867 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3517, allocations: 0 / 0.5438 GB, free: 1.867 MB / 362.7 MB Notification: Performance of Templates: time 0.002114/0.3538, allocations: 475.7 kB / 0.5443 GB, free: 1.406 MB / 362.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)