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.0008931/0.0008931, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.3 MB / 213.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008257/0.0008256, allocations: 86.7 kB / 261.4 MB, free: 1.695 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.08559/0.08559, allocations: 22.98 MB / 332.3 MB, free: 4.809 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.316e-05/1.32e-05, allocations: 1.812 kB / 391.6 MB, free: 44.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08792/0.08795, allocations: 53.13 MB / 444.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3323/0.4203, allocations: 88.76 MB / 0.521 GB, free: 18.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.4206, allocations: 82.91 kB / 0.5211 GB, free: 18.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01183/0.4324, allocations: 3.955 MB / 0.525 GB, free: 34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4325, allocations: 0 / 0.525 GB, free: 34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4325, allocations: 1.688 kB / 0.525 GB, free: 34 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.0002537/0.4327, allocations: 353.7 kB / 0.5253 GB, free: 33.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4328, allocations: 9.719 kB / 0.5253 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.4328, allocations: 1.531 kB / 0.5253 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.619e-05/0.4329, allocations: 168.5 kB / 0.5255 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.4329, allocations: 0 / 0.5255 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.4329, allocations: 5.516 kB / 0.5255 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.909e-05/0.433, allocations: 14.03 kB / 0.5255 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.45e-05/0.4331, allocations: 47.16 kB / 0.5255 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4331, allocations: 4 kB / 0.5255 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.4331, allocations: 0 / 0.5255 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.4331, allocations: 1.531 kB / 0.5255 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.4334, allocations: 316.3 kB / 0.5259 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.996e-05/0.4335, allocations: 39.78 kB / 0.5259 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.4335, allocations: 18.25 kB / 0.5259 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003464/0.4339, allocations: 201.6 kB / 0.5261 GB, free: 32.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.4339, allocations: 36.03 kB / 0.5261 GB, free: 32.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.4339, allocations: 0 / 0.5261 GB, free: 32.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003808/0.4343, allocations: 68.22 kB / 0.5262 GB, free: 32.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.4343, allocations: 77.11 kB / 0.5263 GB, free: 32.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.284e-05/0.4344, allocations: 99.75 kB / 0.5264 GB, free: 32.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.4344, allocations: 27.36 kB / 0.5264 GB, free: 32.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.4345, allocations: 91.89 kB / 0.5265 GB, free: 32.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-06/0.4345, allocations: 3.906 kB / 0.5265 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-06/0.4345, allocations: 1.656 kB / 0.5265 GB, free: 32.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.4346, allocations: 324.5 kB / 0.5268 GB, free: 32.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.4346, allocations: 1.906 kB / 0.5268 GB, free: 32.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/0.4346, allocations: 18.22 kB / 0.5268 GB, free: 32.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.4348, allocations: 32.17 kB / 0.5268 GB, free: 32.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4349, allocations: 1.828 kB / 0.5268 GB, free: 32.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002676/0.4351, allocations: 61.06 kB / 0.5269 GB, free: 32.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4352, allocations: 5.688 kB / 0.5269 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.4352, allocations: 1.5 kB / 0.5269 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4352, allocations: 0 / 0.5269 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.202e-05/0.4352, allocations: 4.953 kB / 0.5269 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.4352, allocations: 0 / 0.5269 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.4353, allocations: 5.719 kB / 0.5269 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.4353, allocations: 1.594 kB / 0.5269 GB, free: 32.02 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 () * 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.556e-05/0.4353, allocations: 108.9 kB / 0.527 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.4354, allocations: 9.375 kB / 0.527 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.4357, allocations: 69.45 kB / 0.5271 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.4357, allocations: 1.75 kB / 0.5271 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4357, allocations: 0 / 0.5271 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4357, allocations: 0 / 0.5271 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.4359, allocations: 253.6 kB / 0.5273 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.4359, allocations: 4.953 kB / 0.5274 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.4359, allocations: 1.406 kB / 0.5274 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.4359, allocations: 1.688 kB / 0.5274 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.436, allocations: 0 / 0.5274 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.436, allocations: 1.688 kB / 0.5274 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.436, allocations: 0 / 0.5274 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.4363, allocations: 254.6 kB / 0.5276 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.4363, allocations: 86.73 kB / 0.5277 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.4363, allocations: 0 / 0.5277 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.4364, allocations: 1.375 kB / 0.5277 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.4364, allocations: 1.344 kB / 0.5277 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.4364, allocations: 5.562 kB / 0.5277 GB, free: 31.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.251e-05/0.4365, allocations: 88.92 kB / 0.5278 GB, free: 31.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4365, allocations: 4.031 kB / 0.5278 GB, free: 31.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.4368, allocations: 24.47 kB / 0.5278 GB, free: 31.16 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 () * 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.0001668/0.4369, allocations: 128.6 kB / 0.5279 GB, free: 31.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.581e-05/0.437, allocations: 37.77 kB / 0.528 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.437, allocations: 0 / 0.528 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.31e-05/0.4371, allocations: 38.16 kB / 0.528 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.4372, allocations: 1.688 kB / 0.528 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001662/0.4374, allocations: 81.58 kB / 0.5281 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.4376, allocations: 0.6812 MB / 0.5287 GB, free: 30.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.454e-05/0.4376, allocations: 1.531 kB / 0.5287 GB, free: 30.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-06/0.4376, allocations: 7.438 kB / 0.5287 GB, free: 30.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4377, allocations: 0 / 0.5287 GB, free: 30.2 MB / 378.7 MB Notification: Performance of Templates: time 0.002123/0.4398, allocations: 469.7 kB / 0.5292 GB, free: 30.14 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)