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.844/1.844, allocations: 292.6 MB / 307.5 MB, free: 5.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.001357/0.001357, allocations: 185 kB / 377.1 MB, free: 1.523 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.03/2.03, allocations: 205.4 MB / 0.6366 GB, free: 8.512 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.001018/0.001018, allocations: 90.98 kB / 0.7509 GB, free: 63.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004483, allocations: 15.98 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3449, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.448, allocations: 364 MB / 1.344 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.448, allocations: 87.95 kB / 1.344 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02279/1.471, allocations: 9.419 MB / 1.353 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.255e-06/1.471, allocations: 0 / 1.353 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.27e-05/1.471, allocations: 4 kB / 1.353 GB, free: 0.7383 MB / 0.9167 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.0007113/1.472, allocations: 498.3 kB / 1.354 GB, free: 212 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.472, allocations: 12.89 kB / 1.354 GB, free: 200 kB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.901e-05/1.472, allocations: 39.05 kB / 1.354 GB, free: 152 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/1.472, allocations: 23.72 kB / 1.354 GB, free: 128 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/1.473, allocations: 237.2 kB / 1.354 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/1.473, allocations: 12.75 kB / 1.354 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/1.473, allocations: 4 kB / 1.354 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/1.473, allocations: 137.5 kB / 1.354 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/1.473, allocations: 4.562 kB / 1.354 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/1.473, allocations: 11.98 kB / 1.354 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/1.473, allocations: 4 kB / 1.354 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/1.474, allocations: 151.9 kB / 1.354 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/1.474, allocations: 448 kB / 1.355 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/1.475, allocations: 175 kB / 1.355 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/1.475, allocations: 8.734 kB / 1.355 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/1.475, allocations: 34.56 kB / 1.355 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 2.765e-06/1.475, allocations: 3.984 kB / 1.355 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.0008482/1.476, allocations: 310.1 kB / 1.355 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/1.476, allocations: 59.34 kB / 1.355 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/1.476, allocations: 188.2 kB / 1.355 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/1.476, allocations: 25.7 kB / 1.355 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/1.476, allocations: 120.1 kB / 1.356 GB, free: 14.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/1.476, allocations: 44.14 kB / 1.356 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/1.476, allocations: 0 / 1.356 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.476, allocations: 334.8 kB / 1.356 GB, free: 13.72 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/1.477, allocations: 79.94 kB / 1.356 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/1.477, allocations: 77.31 kB / 1.356 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/1.477, allocations: 83.94 kB / 1.356 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.477, allocations: 0 / 1.356 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004989/1.477, allocations: 225.3 kB / 1.356 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.477, allocations: 4 kB / 1.356 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.478, allocations: 1.812 kB / 1.356 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.478, allocations: 4 kB / 1.356 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/1.478, allocations: 48.45 kB / 1.356 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/1.478, allocations: 3.953 kB / 1.356 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/1.478, allocations: 23.89 kB / 1.356 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/1.478, allocations: 7.938 kB / 1.356 GB, free: 13.17 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 (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 0.0001186/1.478, allocations: 125.8 kB / 1.357 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/1.478, allocations: 19.81 kB / 1.357 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.104e-05/1.478, allocations: 25.83 kB / 1.357 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.478, allocations: 4.5 kB / 1.357 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.478, allocations: 0 / 1.357 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.478, allocations: 5.172 kB / 1.357 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/1.479, allocations: 261.4 kB / 1.357 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.479, allocations: 0.75 kB / 1.357 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/1.479, allocations: 43.91 kB / 1.357 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/1.479, allocations: 4 kB / 1.357 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/1.479, allocations: 7.984 kB / 1.357 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.479, allocations: 1.188 kB / 1.357 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.479, allocations: 0 / 1.357 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/1.479, allocations: 323.2 kB / 1.357 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/1.479, allocations: 100.9 kB / 1.357 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/1.48, allocations: 0 / 1.357 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/1.48, allocations: 27.97 kB / 1.357 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/1.48, allocations: 7.984 kB / 1.357 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/1.48, allocations: 5.781 kB / 1.357 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001225/1.48, allocations: 160.4 kB / 1.358 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/1.48, allocations: 4 kB / 1.358 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002814/1.48, allocations: 43.91 kB / 1.358 GB, free: 11.93 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.0009567/1.481, allocations: 0.8984 MB / 1.358 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004885/1.482, allocations: 183.8 kB / 1.359 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.482, allocations: 0 / 1.359 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/1.482, allocations: 103.9 kB / 1.359 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/1.482, allocations: 23.92 kB / 1.359 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/1.484, allocations: 1.265 MB / 1.36 GB, free: 9.391 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/1.485, allocations: 0.7331 MB / 1.361 GB, free: 8.633 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001733/1.485, allocations: 50.45 kB / 1.361 GB, free: 8.586 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/1.485, allocations: 51.42 kB / 1.361 GB, free: 8.535 MB / 0.9323 GB Notification: Performance of SimCode: time 3e-07/1.485, allocations: 0 / 1.361 GB, free: 8.535 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/1.501, allocations: 4.262 MB / 1.365 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/1.501, allocations: 196.8 kB / 1.365 GB, free: 4.23 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/3.404, allocations: 0 / 1.365 GB, free: 4.23 MB / 0.9323 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)