Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.619/1.619, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001003/0.001003, allocations: 176.9 kB / 361.4 MB, free: 6.867 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.36/1.36, 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.0009476/0.0009476, allocations: 103.3 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.095e-05/2.097e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6677/0.6677, allocations: 115.3 MB / 0.9645 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8812/1.549, allocations: 363.5 MB / 1.319 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/1.549, allocations: 88.45 kB / 1.32 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02831/1.578, allocations: 11.5 MB / 1.331 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.375e-06/1.578, allocations: 0 / 1.331 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.397e-05/1.578, allocations: 7.766 kB / 1.331 GB, free: 181.5 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000932/1.579, allocations: 0.6094 MB / 1.331 GB, free: 181 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/1.579, allocations: 7.812 kB / 1.331 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006938/1.579, allocations: 134.5 kB / 1.332 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007767/1.58, allocations: 339.3 kB / 1.332 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/1.58, allocations: 3.781 kB / 1.332 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/1.58, allocations: 8.625 kB / 1.332 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002394/1.58, allocations: 135.6 kB / 1.332 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/1.581, allocations: 143.7 kB / 1.332 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/1.581, allocations: 7.938 kB / 1.332 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/1.581, allocations: 0 / 1.332 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/1.581, allocations: 0 / 1.332 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/1.582, allocations: 0.5619 MB / 1.333 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/1.582, allocations: 97.69 kB / 1.333 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/1.582, allocations: 82.75 kB / 1.333 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005054/1.582, allocations: 0.5128 MB / 1.333 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/1.583, allocations: 41.78 kB / 1.333 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/1.583, allocations: 0 / 1.333 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.04781/1.63, allocations: 3.778 MB / 1.337 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/1.63, allocations: 55.39 kB / 1.337 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/1.631, allocations: 215.9 kB / 1.337 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/1.631, allocations: 25.7 kB / 1.337 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/1.631, allocations: 150.9 kB / 1.337 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/1.631, allocations: 40.98 kB / 1.338 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/1.631, allocations: 0 / 1.338 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/1.631, allocations: 338.9 kB / 1.338 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/1.631, allocations: 75.7 kB / 1.338 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/1.631, allocations: 77.58 kB / 1.338 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1399/1.771, allocations: 10.76 MB / 1.349 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.771, allocations: 4 kB / 1.349 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.139/1.91, allocations: 10.91 MB / 1.359 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/1.91, allocations: 7.984 kB / 1.359 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.91, allocations: 4 kB / 1.359 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/1.91, allocations: 0 / 1.359 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/1.911, allocations: 87.17 kB / 1.359 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.911, allocations: 0 / 1.359 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/1.911, allocations: 59.8 kB / 1.359 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/1.911, allocations: 7.984 kB / 1.359 GB, free: 162.5 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 (17): * Single equations (assignments): 17 * 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.239e-05/1.911, allocations: 101 kB / 1.359 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04668/1.958, allocations: 3.793 MB / 1.363 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/1.958, allocations: 23.72 kB / 1.363 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04714/2.005, allocations: 3.808 MB / 1.367 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/2.005, allocations: 4 kB / 1.367 GB, free: 155 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/2.005, allocations: 0 / 1.367 GB, free: 155 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/2.005, allocations: 7.562 kB / 1.367 GB, free: 155 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/2.006, allocations: 279.4 kB / 1.367 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/2.006, allocations: 0 / 1.367 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/2.006, allocations: 75.92 kB / 1.367 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/2.006, allocations: 3.984 kB / 1.367 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/2.006, allocations: 7.984 kB / 1.367 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/2.006, allocations: 2.188 kB / 1.367 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/2.006, allocations: 0 / 1.367 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04644/2.053, allocations: 3.887 MB / 1.371 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/2.053, allocations: 123.7 kB / 1.371 GB, free: 150.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/2.053, allocations: 0 / 1.371 GB, free: 150.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/2.053, allocations: 51.95 kB / 1.371 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.469e-05/2.053, allocations: 15.59 kB / 1.371 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/2.053, allocations: 7.984 kB / 1.371 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002027/2.053, allocations: 168.8 kB / 1.371 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/2.054, allocations: 0 / 1.371 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004878/2.054, allocations: 79.58 kB / 1.371 GB, free: 150.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 (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.04708/2.101, allocations: 4.508 MB / 1.376 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004018/2.102, allocations: 174 kB / 1.376 GB, free: 146 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/2.102, allocations: 0 / 1.376 GB, free: 146 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/2.102, allocations: 98.16 kB / 1.376 GB, free: 146 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/2.102, allocations: 23.83 kB / 1.376 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008708/2.103, allocations: 363.1 kB / 1.376 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/2.103, allocations: 0.7552 MB / 1.377 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002648/2.103, allocations: 48.22 kB / 1.377 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/2.104, allocations: 78.52 kB / 1.377 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/2.104, allocations: 3.938 kB / 1.377 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/2.126, allocations: 5.139 MB / 1.382 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/2.126, allocations: 170.9 kB / 1.383 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/3.944, allocations: 2.656 kB / 1.383 GB, free: 139.5 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)