Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001288/0.001289, allocations: 172.9 kB / 366.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.2 MB / 0.626 GB, free: 7.152 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009481/0.0009478, allocations: 87.81 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.867e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6171/0.6171, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8743/1.491, allocations: 363.2 MB / 1.328 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/1.492, allocations: 83.94 kB / 1.328 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02124/1.513, allocations: 9.284 MB / 1.337 GB, free: 219.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.305e-06/1.513, allocations: 0 / 1.337 GB, free: 219.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.451e-05/1.513, allocations: 4 kB / 1.337 GB, free: 219.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005924/1.514, allocations: 466.2 kB / 1.338 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.514, allocations: 12.03 kB / 1.338 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/1.514, allocations: 15.81 kB / 1.338 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/1.514, allocations: 240.9 kB / 1.338 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/1.514, allocations: 0 / 1.338 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/1.514, allocations: 4 kB / 1.338 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001359/1.514, allocations: 73.42 kB / 1.338 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/1.515, allocations: 105.6 kB / 1.338 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.515, allocations: 4 kB / 1.338 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/1.515, allocations: 0 / 1.338 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/1.515, allocations: 11.98 kB / 1.338 GB, free: 218.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/1.515, allocations: 421 kB / 1.338 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/1.515, allocations: 132.4 kB / 1.339 GB, free: 217.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.26e-05/1.516, allocations: 76.83 kB / 1.339 GB, free: 217.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/1.516, allocations: 3.984 kB / 1.339 GB, free: 217.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/1.516, allocations: 34.56 kB / 1.339 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/1.516, allocations: 0 / 1.339 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0004934/1.516, allocations: 182.6 kB / 1.339 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/1.516, allocations: 55.36 kB / 1.339 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/1.516, allocations: 172 kB / 1.339 GB, free: 217 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/1.516, allocations: 29.7 kB / 1.339 GB, free: 217 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/1.516, allocations: 120 kB / 1.339 GB, free: 216.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/1.516, allocations: 47.36 kB / 1.339 GB, free: 216.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/1.516, allocations: 0 / 1.339 GB, free: 216.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.211e-05/1.516, allocations: 330.8 kB / 1.34 GB, free: 216.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.734e-05/1.517, allocations: 43.92 kB / 1.34 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/1.517, allocations: 53.41 kB / 1.34 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/1.517, allocations: 75.92 kB / 1.34 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.517, allocations: 0 / 1.34 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003683/1.517, allocations: 184.2 kB / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.517, allocations: 4.781 kB / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/1.517, allocations: 8 kB / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.517, allocations: 0 / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/1.518, allocations: 41.64 kB / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.518, allocations: 2.625 kB / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/1.518, allocations: 23.84 kB / 1.34 GB, free: 216 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/1.518, allocations: 12 kB / 1.34 GB, free: 216 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.838e-05/1.518, allocations: 108.9 kB / 1.34 GB, free: 215.9 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000377/1.518, allocations: 181.4 kB / 1.34 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/1.518, allocations: 19.72 kB / 1.34 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/1.518, allocations: 17.97 kB / 1.34 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/1.518, allocations: 4 kB / 1.34 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.518, allocations: 3.953 kB / 1.34 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.518, allocations: 3.984 kB / 1.34 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/1.518, allocations: 222.1 kB / 1.341 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.518, allocations: 0 / 1.341 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/1.519, allocations: 43.91 kB / 1.341 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/1.519, allocations: 0 / 1.341 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/1.519, allocations: 7.984 kB / 1.341 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.519, allocations: 0 / 1.341 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.519, allocations: 2.5 kB / 1.341 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/1.519, allocations: 288.6 kB / 1.341 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/1.519, allocations: 108.9 kB / 1.341 GB, free: 215 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/1.519, allocations: 0 / 1.341 GB, free: 215 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/1.519, allocations: 15.98 kB / 1.341 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/1.52, allocations: 10.17 kB / 1.341 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/1.52, allocations: 7.984 kB / 1.341 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.048e-05/1.52, allocations: 148.5 kB / 1.341 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.52, allocations: 0 / 1.341 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002702/1.52, allocations: 35.92 kB / 1.341 GB, free: 214.8 MB / 0.8542 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 () * 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.0006898/1.521, allocations: 0.8745 MB / 1.342 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001952/1.521, allocations: 122.7 kB / 1.342 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.521, allocations: 0 / 1.342 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/1.521, allocations: 67.91 kB / 1.342 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/1.521, allocations: 20.22 kB / 1.342 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/1.522, allocations: 274.8 kB / 1.343 GB, free: 213.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/1.522, allocations: 0.7282 MB / 1.343 GB, free: 212.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001665/1.522, allocations: 46.28 kB / 1.343 GB, free: 212.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/1.522, allocations: 55.41 kB / 1.343 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/1.522, allocations: 4 kB / 1.343 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/1.545, allocations: 3.406 MB / 1.347 GB, free: 209.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/1.546, allocations: 162.5 kB / 1.347 GB, free: 209 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/3.342, allocations: 5.312 kB / 1.347 GB, free: 209 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)