Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 189.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.317/2.317, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.838/4.838, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 69.86 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4269, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.007354/0.4344, allocations: 2.079 MB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.008649/0.4431, allocations: 3.653 MB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.4434, allocations: 4 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.4441, allocations: 51.73 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007201/0.4448, allocations: 95.41 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/0.4456, allocations: 107.8 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006876/0.4463, allocations: 255.1 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.4466, allocations: 48.38 kB / 1.059 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004595/0.447, allocations: 107.6 kB / 1.059 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.4474, allocations: 123.4 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.838e-05/0.4475, allocations: 16 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004617/0.448, allocations: 115.8 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.4481, allocations: 51.81 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.4483, allocations: 99.39 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006861/0.449, allocations: 267.1 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.449, allocations: 3.938 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.174e-06/0.449, allocations: 0 / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.4491, allocations: 0 / 1.059 GB, free: 1.543 MB / 0.8106 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.00199/0.4511, allocations: 0.5879 MB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 8.48e-05/0.4512, allocations: 8.625 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.307e-05/0.4513, allocations: 42.75 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.4514, allocations: 28.59 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.4523, allocations: 271.6 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.4523, allocations: 384 / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.4524, allocations: 12.38 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009574/0.4533, allocations: 187.1 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.4534, allocations: 0 / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.4534, allocations: 4 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.4534, allocations: 0 / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.4546, allocations: 191.8 kB / 1.061 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.4561, allocations: 0.4887 MB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.4568, allocations: 118.5 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/0.4574, allocations: 112.8 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/0.4589, allocations: 0.5454 MB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.4589, allocations: 34.56 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 2.625e-06/0.4589, allocations: 224 / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001965/0.4609, allocations: 357.1 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/0.4611, allocations: 55.34 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.4615, allocations: 230.7 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.4616, allocations: 29.7 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.4618, allocations: 140 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.023e-05/0.4619, allocations: 39.45 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.4621, allocations: 29.7 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.4623, allocations: 334.8 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/0.4629, allocations: 91.91 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.4634, allocations: 103.8 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.4645, allocations: 196.7 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.4645, allocations: 0 / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001271/0.4658, allocations: 257.8 kB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.4659, allocations: 4 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4659, allocations: 0 / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.4659, allocations: 0 / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.4664, allocations: 51.88 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.4665, allocations: 7.938 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.4668, allocations: 35.89 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.4669, allocations: 4 kB / 1.064 GB, free: 12.66 MB / 0.8262 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.4671, allocations: 127.3 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.4672, allocations: 27.7 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.4686, allocations: 275.2 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.4686, allocations: 3.984 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.4686, allocations: 3.938 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4687, allocations: 3.984 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.4692, allocations: 277.4 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4693, allocations: 3.938 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.4697, allocations: 51.88 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.4698, allocations: 3.938 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.4698, allocations: 4 kB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.4698, allocations: 4 kB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.4698, allocations: 3.938 kB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.4712, allocations: 347.1 kB / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.4714, allocations: 112.8 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.4715, allocations: 7.984 kB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.4719, allocations: 27.97 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.472, allocations: 15.92 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.4721, allocations: 7.984 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002563/0.4723, allocations: 170 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4724, allocations: 0 / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005973/0.473, allocations: 59.89 kB / 1.065 GB, free: 11.06 MB / 0.8262 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002021/0.475, allocations: 0.921 MB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.4763, allocations: 231.7 kB / 1.066 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4763, allocations: 0 / 1.066 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006084/0.477, allocations: 115.8 kB / 1.066 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007809/0.4778, allocations: 39.47 kB / 1.066 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006861/0.4846, allocations: 2.494 MB / 1.069 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.4852, allocations: 0.7351 MB / 1.07 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003587/0.4856, allocations: 44.84 kB / 1.07 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.4859, allocations: 63.41 kB / 1.07 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of SimCode: time 1.763e-06/0.4859, allocations: 4 kB / 1.07 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.34/2.825, allocations: 4.613 MB / 1.074 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003855/2.826, allocations: 227.9 kB / 1.074 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.292/8.118, allocations: 0 / 1.074 GB, free: 1.617 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)