Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.798/1.798, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 183 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 223.2 MB / 0.6626 GB, free: 4.32 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009389/0.0009389, allocations: 97.59 kB / 0.7808 GB, free: 50.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004578, allocations: 16.55 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8685/0.8689, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.936, allocations: 367.6 MB / 1.385 GB, free: 231.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.936, allocations: 89.48 kB / 1.385 GB, free: 231.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.03247/1.969, allocations: 11.84 MB / 1.397 GB, free: 230.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.826e-06/1.969, allocations: 0 / 1.397 GB, free: 230.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.75e-05/1.969, allocations: 3.734 kB / 1.397 GB, free: 230.3 MB / 0.9323 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.001281/1.97, allocations: 0.6429 MB / 1.398 GB, free: 229.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.97, allocations: 16.58 kB / 1.398 GB, free: 229.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007213/1.971, allocations: 137.5 kB / 1.398 GB, free: 229.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009338/1.972, allocations: 349.3 kB / 1.398 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/1.972, allocations: 7.219 kB / 1.398 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/1.972, allocations: 10.22 kB / 1.398 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006409/1.973, allocations: 254.6 kB / 1.398 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/1.973, allocations: 0.6094 kB / 1.398 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/1.973, allocations: 6.438 kB / 1.398 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.973, allocations: 0 / 1.398 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008966/1.974, allocations: 340.3 kB / 1.399 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/1.975, allocations: 0.6018 MB / 1.399 GB, free: 229.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/1.976, allocations: 200.4 kB / 1.399 GB, free: 229.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/1.976, allocations: 186.4 kB / 1.4 GB, free: 229.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005724/1.977, allocations: 0.5188 MB / 1.4 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/1.977, allocations: 30.56 kB / 1.4 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 2.755e-06/1.977, allocations: 0.6094 kB / 1.4 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.001539/1.978, allocations: 0.5585 MB / 1.401 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/1.978, allocations: 61.42 kB / 1.401 GB, free: 228.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/1.979, allocations: 257.4 kB / 1.401 GB, free: 228.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/1.979, allocations: 29.02 kB / 1.401 GB, free: 228.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/1.979, allocations: 150.1 kB / 1.401 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/1.979, allocations: 48.94 kB / 1.401 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/1.979, allocations: 0 / 1.401 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/1.979, allocations: 340.6 kB / 1.402 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/1.979, allocations: 186.4 kB / 1.402 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/1.98, allocations: 173.1 kB / 1.402 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008779/1.981, allocations: 357.7 kB / 1.402 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.981, allocations: 4 kB / 1.402 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001053/1.982, allocations: 427.7 kB / 1.403 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.982, allocations: 6.469 kB / 1.403 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.982, allocations: 0 / 1.403 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.982, allocations: 0.5625 kB / 1.403 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/1.982, allocations: 87.55 kB / 1.403 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.982, allocations: 0 / 1.403 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/1.983, allocations: 62.77 kB / 1.403 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/1.983, allocations: 7.469 kB / 1.403 GB, free: 227.7 MB / 0.9323 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.0001525/1.983, allocations: 131.1 kB / 1.403 GB, free: 227.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/1.983, allocations: 29.25 kB / 1.403 GB, free: 227.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/1.984, allocations: 442.7 kB / 1.403 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.984, allocations: 0 / 1.403 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.984, allocations: 4 kB / 1.403 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.984, allocations: 0 / 1.403 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/1.984, allocations: 308.1 kB / 1.404 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.984, allocations: 0 / 1.404 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/1.985, allocations: 81.48 kB / 1.404 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.985, allocations: 0 / 1.404 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/1.985, allocations: 5.938 kB / 1.404 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.985, allocations: 3.281 kB / 1.404 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.985, allocations: 0 / 1.404 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/1.986, allocations: 0.5047 MB / 1.404 GB, free: 227.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/1.986, allocations: 117.4 kB / 1.404 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/1.986, allocations: 3.812 kB / 1.404 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/1.986, allocations: 54.48 kB / 1.404 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/1.986, allocations: 16.36 kB / 1.404 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/1.986, allocations: 8.453 kB / 1.404 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001688/1.987, allocations: 188.4 kB / 1.405 GB, free: 227 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.292e-06/1.987, allocations: 0 / 1.405 GB, free: 227 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004071/1.987, allocations: 84.64 kB / 1.405 GB, free: 226.9 MB / 0.9323 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.0003821/1.987, allocations: 177.6 kB / 1.405 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001023/1.988, allocations: 390.6 kB / 1.405 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.988, allocations: 0 / 1.405 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004871/1.989, allocations: 194.1 kB / 1.405 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/1.989, allocations: 27.06 kB / 1.405 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/1.991, allocations: 0.5904 MB / 1.406 GB, free: 226.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/1.991, allocations: 0.7459 MB / 1.407 GB, free: 225.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002856/1.991, allocations: 46.31 kB / 1.407 GB, free: 225.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/1.991, allocations: 22.8 kB / 1.407 GB, free: 225.8 MB / 0.9323 GB Notification: Performance of SimCode: time 4.01e-07/1.991, allocations: 0 / 1.407 GB, free: 225.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.009882/2.001, allocations: 3.522 MB / 1.41 GB, free: 225.6 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)