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.676/1.676, allocations: 289.7 MB / 302.3 MB, free: 2.094 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.001175/0.001175, allocations: 183.3 kB / 371.6 MB, free: 3.387 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.746/1.746, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.001008/0.001008, allocations: 96.39 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.12e-05/4.131e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2901, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.342, allocations: 363.9 MB / 1.335 GB, free: 316 kB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/1.343, allocations: 91.62 kB / 1.335 GB, free: 264 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.02606/1.369, allocations: 9.369 MB / 1.344 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.603e-06/1.369, allocations: 0 / 1.344 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.849e-05/1.369, allocations: 8 kB / 1.344 GB, free: 8.727 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.0007608/1.37, allocations: 455.1 kB / 1.345 GB, free: 8.254 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/1.37, allocations: 16.03 kB / 1.345 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.582e-05/1.37, allocations: 33.69 kB / 1.345 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/1.37, allocations: 17.5 kB / 1.345 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/1.37, allocations: 247.7 kB / 1.345 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/1.37, allocations: 4 kB / 1.345 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/1.37, allocations: 4 kB / 1.345 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/1.371, allocations: 114.5 kB / 1.345 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.371, allocations: 0 / 1.345 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/1.371, allocations: 2.953 kB / 1.345 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/1.371, allocations: 15.98 kB / 1.345 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/1.371, allocations: 88.03 kB / 1.345 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/1.372, allocations: 452.9 kB / 1.346 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/1.372, allocations: 125.2 kB / 1.346 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/1.372, allocations: 84.88 kB / 1.346 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/1.372, allocations: 7.297 kB / 1.346 GB, free: 7.148 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/1.372, allocations: 34.56 kB / 1.346 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/1.372, allocations: 0 / 1.346 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003867/1.373, allocations: 158.7 kB / 1.346 GB, free: 6.977 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/1.373, allocations: 59.41 kB / 1.346 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/1.373, allocations: 185.8 kB / 1.346 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/1.373, allocations: 27.11 kB / 1.347 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/1.373, allocations: 120.6 kB / 1.347 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/1.373, allocations: 43.05 kB / 1.347 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/1.373, allocations: 0 / 1.347 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.373, allocations: 334.3 kB / 1.347 GB, free: 6.254 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.314e-05/1.373, allocations: 45.11 kB / 1.347 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/1.373, allocations: 53.55 kB / 1.347 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/1.374, allocations: 51.53 kB / 1.347 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.374, allocations: 0 / 1.347 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002799/1.374, allocations: 157 kB / 1.347 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.374, allocations: 7.984 kB / 1.347 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/1.374, allocations: 0 / 1.347 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.374, allocations: 0 / 1.347 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/1.374, allocations: 43.86 kB / 1.347 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/1.374, allocations: 4 kB / 1.347 GB, free: 5.973 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/1.374, allocations: 25.83 kB / 1.347 GB, free: 5.953 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/1.374, allocations: 7.984 kB / 1.347 GB, free: 5.945 MB / 0.9167 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 0.0001078/1.374, allocations: 118.4 kB / 1.347 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/1.375, allocations: 15.81 kB / 1.347 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/1.375, allocations: 25.45 kB / 1.348 GB, free: 5.801 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/1.375, allocations: 0 / 1.348 GB, free: 5.801 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.375, allocations: 7.953 kB / 1.348 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.375, allocations: 4 kB / 1.348 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/1.375, allocations: 256.1 kB / 1.348 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.375, allocations: 0.6875 kB / 1.348 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/1.375, allocations: 39.95 kB / 1.348 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/1.375, allocations: 0 / 1.348 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/1.375, allocations: 4 kB / 1.348 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.375, allocations: 0.625 kB / 1.348 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.375, allocations: 7.938 kB / 1.348 GB, free: 5.473 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/1.376, allocations: 256 kB / 1.348 GB, free: 5.242 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.376, allocations: 114.6 kB / 1.348 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/1.376, allocations: 3.125 kB / 1.348 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/1.376, allocations: 17.05 kB / 1.348 GB, free: 5.102 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/1.376, allocations: 18.2 kB / 1.348 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/1.376, allocations: 4 kB / 1.348 GB, free: 5.086 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001393/1.376, allocations: 154.2 kB / 1.348 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.376, allocations: 0 / 1.348 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003062/1.377, allocations: 47.08 kB / 1.348 GB, free: 4.914 MB / 0.9167 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.0008846/1.377, allocations: 0.8413 MB / 1.349 GB, free: 4.086 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002782/1.378, allocations: 119.5 kB / 1.349 GB, free: 4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.378, allocations: 0 / 1.349 GB, free: 4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/1.378, allocations: 63.23 kB / 1.349 GB, free: 3.957 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/1.378, allocations: 24.06 kB / 1.349 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/1.379, allocations: 294.6 kB / 1.35 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/1.379, allocations: 0.7393 MB / 1.35 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001926/1.379, allocations: 46.75 kB / 1.35 GB, free: 2.848 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/1.38, allocations: 52.73 kB / 1.351 GB, free: 2.828 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/1.38, allocations: 0 / 1.351 GB, free: 2.828 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/1.397, allocations: 4.459 MB / 1.355 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/1.398, allocations: 171.2 kB / 1.355 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/3.316, allocations: 3.938 kB / 1.355 GB, free: 14.34 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)