Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.816/1.816, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001459/0.001459, 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.556/1.556, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.000928/0.0009283, allocations: 91.69 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.25e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6244/0.6245, allocations: 115.3 MB / 0.9645 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8372/1.462, allocations: 362.4 MB / 1.318 GB, free: 239.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/1.462, allocations: 84.64 kB / 1.318 GB, free: 239.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02046/1.482, allocations: 9.408 MB / 1.328 GB, free: 230.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.904e-06/1.482, allocations: 4.562 kB / 1.328 GB, free: 230.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.429e-05/1.483, allocations: 4 kB / 1.328 GB, free: 230.3 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.000604/1.483, allocations: 469.9 kB / 1.328 GB, free: 229.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.483, allocations: 8.031 kB / 1.328 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/1.483, allocations: 25.11 kB / 1.328 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/1.484, allocations: 237.7 kB / 1.328 GB, free: 229.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/1.484, allocations: 2.25 kB / 1.328 GB, free: 229.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/1.484, allocations: 4 kB / 1.328 GB, free: 229.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001399/1.484, allocations: 67.97 kB / 1.328 GB, free: 229.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/1.484, allocations: 105.6 kB / 1.328 GB, free: 229.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.484, allocations: 0 / 1.328 GB, free: 229.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/1.484, allocations: 7.984 kB / 1.328 GB, free: 229.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/1.484, allocations: 15.98 kB / 1.329 GB, free: 229.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000746/1.485, allocations: 440.9 kB / 1.329 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/1.485, allocations: 135.3 kB / 1.329 GB, free: 228.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/1.485, allocations: 76.83 kB / 1.329 GB, free: 228.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/1.485, allocations: 3.984 kB / 1.329 GB, free: 228.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/1.485, allocations: 38.56 kB / 1.329 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/1.485, allocations: 0 / 1.329 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.000673/1.486, allocations: 191.7 kB / 1.329 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/1.486, allocations: 59.41 kB / 1.329 GB, free: 228.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/1.486, allocations: 180 kB / 1.33 GB, free: 228.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/1.486, allocations: 25.7 kB / 1.33 GB, free: 228 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/1.486, allocations: 116.1 kB / 1.33 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/1.486, allocations: 47.36 kB / 1.33 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/1.486, allocations: 0 / 1.33 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.487, allocations: 330.8 kB / 1.33 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/1.487, allocations: 43.98 kB / 1.33 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/1.487, allocations: 55.92 kB / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/1.487, allocations: 83.91 kB / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.487, allocations: 1.5 kB / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004132/1.488, allocations: 190.2 kB / 1.33 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.488, allocations: 4 kB / 1.33 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.488, allocations: 3.625 kB / 1.33 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.488, allocations: 0 / 1.33 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/1.488, allocations: 47.89 kB / 1.33 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.488, allocations: 0 / 1.33 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/1.488, allocations: 23.88 kB / 1.331 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/1.488, allocations: 8 kB / 1.331 GB, free: 227.1 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 8.819e-05/1.488, allocations: 101 kB / 1.331 GB, free: 227 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000408/1.489, allocations: 201.7 kB / 1.331 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/1.489, allocations: 15.81 kB / 1.331 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/1.489, allocations: 29.95 kB / 1.331 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.489, allocations: 3.953 kB / 1.331 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.489, allocations: 0 / 1.331 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.489, allocations: 0 / 1.331 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/1.489, allocations: 235.5 kB / 1.331 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.489, allocations: 0 / 1.331 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/1.489, allocations: 39.97 kB / 1.331 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/1.489, allocations: 0 / 1.331 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/1.489, allocations: 7.984 kB / 1.331 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.489, allocations: 0 / 1.331 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.489, allocations: 0 / 1.331 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/1.49, allocations: 296.6 kB / 1.331 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/1.49, allocations: 108.8 kB / 1.332 GB, free: 226 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/1.49, allocations: 4 kB / 1.332 GB, free: 226 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/1.49, allocations: 19.97 kB / 1.332 GB, free: 226 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/1.49, allocations: 7.984 kB / 1.332 GB, free: 226 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/1.49, allocations: 8 kB / 1.332 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001154/1.49, allocations: 144.5 kB / 1.332 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.81e-07/1.49, allocations: 0 / 1.332 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002969/1.491, allocations: 39.86 kB / 1.332 GB, free: 225.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.0007856/1.491, allocations: 0.8858 MB / 1.333 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002238/1.492, allocations: 129.7 kB / 1.333 GB, free: 224.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.492, allocations: 0 / 1.333 GB, free: 224.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.295e-05/1.492, allocations: 71.91 kB / 1.333 GB, free: 224.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/1.492, allocations: 17.17 kB / 1.333 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/1.493, allocations: 284.4 kB / 1.333 GB, free: 224.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/1.493, allocations: 0.736 MB / 1.334 GB, free: 223.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001753/1.493, allocations: 44.73 kB / 1.334 GB, free: 223.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/1.493, allocations: 51.41 kB / 1.334 GB, free: 223.5 MB / 0.8542 GB Notification: Performance of SimCode: time 5.82e-07/1.493, allocations: 2.719 kB / 1.334 GB, free: 223.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/1.515, allocations: 3.536 MB / 1.337 GB, free: 220 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/1.515, allocations: 171.2 kB / 1.337 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/3.188, allocations: 1.719 kB / 1.337 GB, free: 219.8 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)