Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) 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) 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) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.534/2.534, allocations: 287.5 MB / 303.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 178.3 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 91.64 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000503/0.0005028, allocations: 19.77 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2294, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.217/1.447, allocations: 364.1 MB / 1.335 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004648/1.447, allocations: 99.12 kB / 1.335 GB, free: 1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04961/1.497, allocations: 11.6 MB / 1.346 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.904e-06/1.497, allocations: 0 / 1.346 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.041e-05/1.497, allocations: 4 kB / 1.346 GB, free: 7.402 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001928/1.499, allocations: 0.6493 MB / 1.347 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.499, allocations: 12.03 kB / 1.347 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/1.5, allocations: 132.6 kB / 1.347 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/1.502, allocations: 353.7 kB / 1.347 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/1.502, allocations: 7.938 kB / 1.347 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/1.502, allocations: 10.12 kB / 1.347 GB, free: 6.203 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/1.503, allocations: 256.3 kB / 1.348 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.503, allocations: 3.938 kB / 1.348 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/1.503, allocations: 7.875 kB / 1.348 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/1.503, allocations: 0 / 1.348 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/1.505, allocations: 341.5 kB / 1.348 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/1.507, allocations: 0.6163 MB / 1.349 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/1.508, allocations: 192.4 kB / 1.349 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/1.509, allocations: 188.2 kB / 1.349 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/1.51, allocations: 0.5181 MB / 1.35 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/1.51, allocations: 30.56 kB / 1.35 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 2.565e-06/1.51, allocations: 4 kB / 1.35 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.003168/1.514, allocations: 0.5628 MB / 1.35 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/1.514, allocations: 55.41 kB / 1.35 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/1.514, allocations: 261.2 kB / 1.35 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/1.514, allocations: 28.7 kB / 1.35 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/1.514, allocations: 150.6 kB / 1.351 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/1.514, allocations: 38.73 kB / 1.351 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/1.514, allocations: 2.938 kB / 1.351 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.515, allocations: 341.4 kB / 1.351 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009884/1.516, allocations: 178.4 kB / 1.351 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/1.517, allocations: 174.9 kB / 1.351 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/1.518, allocations: 357.2 kB / 1.352 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.519, allocations: 0 / 1.352 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002267/1.521, allocations: 432.7 kB / 1.352 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/1.521, allocations: 10.5 kB / 1.352 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.521, allocations: 0 / 1.352 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.521, allocations: 0 / 1.352 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008608/1.522, allocations: 79.92 kB / 1.352 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.522, allocations: 0 / 1.352 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006652/1.522, allocations: 62.81 kB / 1.352 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/1.523, allocations: 4 kB / 1.352 GB, free: 1.789 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0002386/1.523, allocations: 136.4 kB / 1.352 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.911e-05/1.523, allocations: 27.62 kB / 1.352 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/1.525, allocations: 431 kB / 1.353 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/1.525, allocations: 11.94 kB / 1.353 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.525, allocations: 0 / 1.353 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.525, allocations: 0 / 1.353 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/1.526, allocations: 308.9 kB / 1.353 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.526, allocations: 0 / 1.353 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/1.527, allocations: 83.67 kB / 1.353 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/1.527, allocations: 4 kB / 1.353 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/1.527, allocations: 3.984 kB / 1.353 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.527, allocations: 0 / 1.353 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.527, allocations: 0 / 1.353 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/1.529, allocations: 0.5003 MB / 1.354 GB, free: 432 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/1.529, allocations: 118.9 kB / 1.354 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.631e-05/1.529, allocations: 7.688 kB / 1.354 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006397/1.53, allocations: 47.95 kB / 1.354 GB, free: 252 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.53, allocations: 15.22 kB / 1.354 GB, free: 240 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/1.53, allocations: 15.92 kB / 1.354 GB, free: 224 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000269/1.53, allocations: 184.4 kB / 1.354 GB, free: 68 kB / 0.8698 GB Notification: Performance of sort global known variables: time 7.92e-07/1.53, allocations: 0 / 1.354 GB, free: 68 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005889/1.531, allocations: 86.16 kB / 1.354 GB, free: 15.99 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004201/1.531, allocations: 193.5 kB / 1.354 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002134/1.534, allocations: 378.5 kB / 1.355 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.534, allocations: 3.688 kB / 1.355 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/1.535, allocations: 184.2 kB / 1.355 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006105/1.535, allocations: 38.94 kB / 1.355 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/1.537, allocations: 0.5786 MB / 1.355 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/1.537, allocations: 0.7469 MB / 1.356 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004975/1.538, allocations: 49.38 kB / 1.356 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/1.538, allocations: 27.34 kB / 1.356 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of SimCode: time 8.82e-07/1.538, allocations: 0 / 1.356 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of Templates: time 0.0115/1.55, allocations: 3.511 MB / 1.36 GB, free: 10.43 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)