Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.7/1.7, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001088/0.001088, allocations: 176.8 kB / 361.4 MB, free: 6.828 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.614/1.614, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0008886/0.0008888, allocations: 87.62 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.156e-05, allocations: 4 kB / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6744/0.6744, allocations: 115.3 MB / 0.9645 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9683/1.643, allocations: 362.9 MB / 1.319 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/1.643, allocations: 88.83 kB / 1.319 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02444/1.667, allocations: 10.71 MB / 1.329 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.134e-06/1.668, allocations: 0 / 1.329 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.337e-05/1.668, allocations: 4 kB / 1.329 GB, free: 228.4 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008902/1.668, allocations: 0.5823 MB / 1.33 GB, free: 227.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.668, allocations: 12.03 kB / 1.33 GB, free: 227.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/1.669, allocations: 29.86 kB / 1.33 GB, free: 227.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/1.669, allocations: 266.5 kB / 1.33 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/1.669, allocations: 0 / 1.33 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/1.669, allocations: 8 kB / 1.33 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001906/1.669, allocations: 91.97 kB / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/1.67, allocations: 117.5 kB / 1.33 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/1.67, allocations: 0 / 1.33 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/1.67, allocations: 0 / 1.33 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.67, allocations: 4 kB / 1.33 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/1.67, allocations: 461 kB / 1.331 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/1.67, allocations: 74.5 kB / 1.331 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.866e-05/1.671, allocations: 56.84 kB / 1.331 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005448/1.671, allocations: 0.5181 MB / 1.332 GB, free: 226 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/1.671, allocations: 34.56 kB / 1.332 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/1.671, allocations: 0 / 1.332 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.04743/1.719, allocations: 3.737 MB / 1.335 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/1.719, allocations: 55.41 kB / 1.335 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/1.719, allocations: 190.4 kB / 1.335 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/1.719, allocations: 25.7 kB / 1.335 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/1.719, allocations: 140 kB / 1.336 GB, free: 221.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/1.719, allocations: 35.45 kB / 1.336 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/1.719, allocations: 3.938 kB / 1.336 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.858e-05/1.719, allocations: 334.9 kB / 1.336 GB, free: 221.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/1.719, allocations: 55.42 kB / 1.336 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/1.719, allocations: 43.98 kB / 1.336 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04752/1.767, allocations: 3.628 MB / 1.34 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.767, allocations: 0 / 1.34 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0475/1.814, allocations: 3.737 MB / 1.343 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/1.814, allocations: 5.562 kB / 1.343 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.814, allocations: 0 / 1.343 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.814, allocations: 4 kB / 1.343 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/1.815, allocations: 59.94 kB / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.815, allocations: 0 / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/1.815, allocations: 39.91 kB / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/1.815, allocations: 3.984 kB / 1.343 GB, free: 213.8 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 (11): * Single equations (assignments): 11 * 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 7.145e-05/1.815, allocations: 112.9 kB / 1.343 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04648/1.862, allocations: 3.732 MB / 1.347 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/1.862, allocations: 27.7 kB / 1.347 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04621/1.908, allocations: 3.756 MB / 1.351 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.908, allocations: 7.984 kB / 1.351 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/1.908, allocations: 2.156 kB / 1.351 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/1.908, allocations: 3.953 kB / 1.351 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/1.908, allocations: 245.9 kB / 1.351 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.908, allocations: 0 / 1.351 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/1.909, allocations: 59.94 kB / 1.351 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.909, allocations: 0 / 1.351 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/1.909, allocations: 7.984 kB / 1.351 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.909, allocations: 0.625 kB / 1.351 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.909, allocations: 0 / 1.351 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04666/1.955, allocations: 3.835 MB / 1.355 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/1.955, allocations: 108.8 kB / 1.355 GB, free: 201.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/1.955, allocations: 0 / 1.355 GB, free: 201.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/1.956, allocations: 42.53 kB / 1.355 GB, free: 201.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/1.956, allocations: 15.91 kB / 1.355 GB, free: 201.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/1.956, allocations: 8 kB / 1.355 GB, free: 201.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000156/1.956, allocations: 154 kB / 1.355 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.41e-07/1.956, allocations: 0 / 1.355 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004427/1.956, allocations: 71.78 kB / 1.355 GB, free: 201.5 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 (11): * Single equations (assignments): 11 * 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.04728/2.004, allocations: 4.463 MB / 1.36 GB, free: 197 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002644/2.004, allocations: 111.9 kB / 1.36 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/2.004, allocations: 4 kB / 1.36 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/2.004, allocations: 65.31 kB / 1.36 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/2.005, allocations: 24.55 kB / 1.36 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/2.005, allocations: 303.3 kB / 1.36 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/2.005, allocations: 0.7431 MB / 1.361 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001798/2.006, allocations: 35.19 kB / 1.361 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/2.006, allocations: 71.41 kB / 1.361 GB, free: 195.6 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/2.006, allocations: 0 / 1.361 GB, free: 195.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/2.03, allocations: 4.349 MB / 1.365 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/2.031, allocations: 171.5 kB / 1.365 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/3.702, allocations: 1.969 kB / 1.365 GB, free: 191.2 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)