Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.68/2.68, allocations: 287.3 MB / 302.3 MB, free: 8.363 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.00162/0.00162, allocations: 173.1 kB / 370.8 MB, free: 10.86 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.104/2.104, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 89.83 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006573/0.0006573, allocations: 12.25 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2258, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.476, allocations: 362.9 MB / 1.333 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/1.477, allocations: 90.88 kB / 1.333 GB, free: 1.91 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04061/1.517, allocations: 9.544 MB / 1.342 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.064e-06/1.517, allocations: 0 / 1.342 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.88e-05/1.517, allocations: 4 kB / 1.342 GB, free: 10.09 MB / 0.8698 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.001216/1.519, allocations: 496 kB / 1.343 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.519, allocations: 16.02 kB / 1.343 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.764e-05/1.519, allocations: 42.27 kB / 1.343 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/1.519, allocations: 27.67 kB / 1.343 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006751/1.52, allocations: 244.6 kB / 1.343 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/1.52, allocations: 4 kB / 1.343 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/1.52, allocations: 11.81 kB / 1.343 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006099/1.52, allocations: 149.9 kB / 1.343 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.52, allocations: 0 / 1.343 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/1.52, allocations: 0 / 1.343 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/1.52, allocations: 15.92 kB / 1.343 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/1.521, allocations: 162.8 kB / 1.343 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/1.522, allocations: 461 kB / 1.344 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007428/1.523, allocations: 181.5 kB / 1.344 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/1.523, allocations: 0 / 1.344 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/1.523, allocations: 38.52 kB / 1.344 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 1.694e-06/1.523, allocations: 4 kB / 1.344 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.001733/1.525, allocations: 318.1 kB / 1.344 GB, free: 8.031 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/1.525, allocations: 51.41 kB / 1.344 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/1.525, allocations: 187.2 kB / 1.344 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/1.525, allocations: 29.7 kB / 1.344 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/1.526, allocations: 125 kB / 1.345 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/1.526, allocations: 45.42 kB / 1.345 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/1.526, allocations: 3.438 kB / 1.345 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.526, allocations: 325.3 kB / 1.345 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/1.526, allocations: 85.38 kB / 1.345 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004222/1.527, allocations: 87.36 kB / 1.345 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/1.527, allocations: 89.25 kB / 1.345 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.527, allocations: 0 / 1.345 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001024/1.528, allocations: 227.3 kB / 1.345 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/1.528, allocations: 11.98 kB / 1.345 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.528, allocations: 0 / 1.345 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.528, allocations: 3.953 kB / 1.345 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/1.529, allocations: 42.28 kB / 1.345 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.529, allocations: 0 / 1.345 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/1.529, allocations: 23.89 kB / 1.345 GB, free: 6.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/1.529, allocations: 10.98 kB / 1.345 GB, free: 6.832 MB / 0.8698 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.0001834/1.529, allocations: 123.4 kB / 1.346 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/1.53, allocations: 19.75 kB / 1.346 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.719e-05/1.53, allocations: 26.64 kB / 1.346 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/1.53, allocations: 7.953 kB / 1.346 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.53, allocations: 4 kB / 1.346 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.53, allocations: 0 / 1.346 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/1.53, allocations: 270.7 kB / 1.346 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.53, allocations: 0 / 1.346 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/1.531, allocations: 39.91 kB / 1.346 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/1.531, allocations: 3.938 kB / 1.346 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/1.531, allocations: 3.125 kB / 1.346 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.531, allocations: 4 kB / 1.346 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/1.531, allocations: 15.94 kB / 1.346 GB, free: 6.32 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/1.532, allocations: 322.7 kB / 1.346 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/1.532, allocations: 115.1 kB / 1.346 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/1.532, allocations: 0 / 1.346 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/1.532, allocations: 19.8 kB / 1.346 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/1.532, allocations: 7.984 kB / 1.346 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/1.532, allocations: 11.95 kB / 1.346 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002196/1.533, allocations: 160 kB / 1.347 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.533, allocations: 0 / 1.347 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004244/1.533, allocations: 43.19 kB / 1.347 GB, free: 5.695 MB / 0.8698 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.001633/1.535, allocations: 0.9137 MB / 1.348 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009668/1.536, allocations: 194.4 kB / 1.348 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.536, allocations: 0 / 1.348 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004717/1.536, allocations: 104.8 kB / 1.348 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/1.537, allocations: 23.17 kB / 1.348 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/1.54, allocations: 1.304 MB / 1.349 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/1.541, allocations: 0.7432 MB / 1.35 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003373/1.541, allocations: 44.59 kB / 1.35 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/1.541, allocations: 54.72 kB / 1.35 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of SimCode: time 8.82e-07/1.541, allocations: 0 / 1.35 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/1.576, allocations: 4.409 MB / 1.354 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003768/1.577, allocations: 205.8 kB / 1.354 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/3.997, allocations: 3.375 kB / 1.354 GB, free: 14.05 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)