Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_9_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.001469/0.001469, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001574/0.001574, allocations: 195 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.027/2.027, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4626, allocations: 140.4 MB / 0.949 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002383/0.4651, allocations: 2.055 MB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003008/0.4681, allocations: 3.679 MB / 0.9546 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.4682, allocations: 5.438 kB / 0.9547 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.4684, allocations: 45.56 kB / 0.9547 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.4687, allocations: 105.8 kB / 0.9548 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.4689, allocations: 107.9 kB / 0.9549 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.4691, allocations: 235.8 kB / 0.9551 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.298e-05/0.4692, allocations: 50.31 kB / 0.9552 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.4694, allocations: 99.8 kB / 0.9553 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.4695, allocations: 115.8 kB / 0.9554 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.4695, allocations: 9.875 kB / 0.9554 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.4697, allocations: 109.3 kB / 0.9555 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.4697, allocations: 44.05 kB / 0.9555 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.4698, allocations: 88.11 kB / 0.9556 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.47, allocations: 262.7 kB / 0.9559 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.47, allocations: 0 / 0.9559 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.22e-07/0.4701, allocations: 1.031 kB / 0.9559 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.4701, allocations: 0 / 0.9559 GB, free: 3.703 MB / 0.7169 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.0008557/0.4709, allocations: 0.5838 MB / 0.9564 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.471, allocations: 11.66 kB / 0.9565 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.471, allocations: 45.33 kB / 0.9565 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.471, allocations: 24.34 kB / 0.9565 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.4713, allocations: 269.8 kB / 0.9568 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.495e-06/0.4714, allocations: 4.219 kB / 0.9568 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4714, allocations: 16.09 kB / 0.9568 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.4718, allocations: 172.7 kB / 0.957 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.4718, allocations: 1.281 kB / 0.957 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.4718, allocations: 0 / 0.957 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.4718, allocations: 2.344 kB / 0.957 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.4724, allocations: 194.2 kB / 0.9571 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.4731, allocations: 489.5 kB / 0.9576 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.4734, allocations: 125.7 kB / 0.9577 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.4737, allocations: 108.5 kB / 0.9578 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006369/0.4744, allocations: 0.5522 MB / 0.9584 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.026e-05/0.4744, allocations: 36.05 kB / 0.9584 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.4744, allocations: 0 / 0.9584 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0009925/0.4754, allocations: 354.4 kB / 0.9587 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.483e-05/0.4754, allocations: 56.72 kB / 0.9588 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.4756, allocations: 238.2 kB / 0.959 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.4756, allocations: 31.08 kB / 0.9591 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.4756, allocations: 141.5 kB / 0.9592 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.4757, allocations: 35.58 kB / 0.9592 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.4757, allocations: 31.31 kB / 0.9593 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.854e-05/0.4758, allocations: 331 kB / 0.9596 GB, free: 468 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.4761, allocations: 96.16 kB / 0.9597 GB, free: 424 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.4764, allocations: 95.72 kB / 0.9598 GB, free: 380 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005628/0.4769, allocations: 201.5 kB / 0.9599 GB, free: 280 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4769, allocations: 0.7188 kB / 0.9599 GB, free: 280 kB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006529/0.4776, allocations: 264.8 kB / 0.9602 GB, free: 132 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.4776, allocations: 4.438 kB / 0.9602 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.4776, allocations: 1.188 kB / 0.9602 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.4776, allocations: 0 / 0.9602 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.4779, allocations: 53.16 kB / 0.9603 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.4779, allocations: 5.188 kB / 0.9603 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.4781, allocations: 22.59 kB / 0.9603 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.4782, allocations: 7.203 kB / 0.9603 GB, free: 92 kB / 0.7169 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.0001/0.4783, allocations: 125.2 kB / 0.9604 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.4783, allocations: 26.06 kB / 0.9604 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007874/0.4791, allocations: 279.4 kB / 0.9607 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4791, allocations: 2.125 kB / 0.9607 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4791, allocations: 7.938 kB / 0.9607 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.4791, allocations: 0 / 0.9607 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.4794, allocations: 282.8 kB / 0.961 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4794, allocations: 0 / 0.961 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.4797, allocations: 40.67 kB / 0.961 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4797, allocations: 1.219 kB / 0.961 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.4797, allocations: 4.984 kB / 0.961 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4797, allocations: 5.031 kB / 0.961 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4797, allocations: 7.922 kB / 0.961 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007699/0.4805, allocations: 361 kB / 0.9614 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.4806, allocations: 113.2 kB / 0.9615 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.4806, allocations: 0.9062 kB / 0.9615 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.4809, allocations: 30.48 kB / 0.9615 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.4809, allocations: 13.23 kB / 0.9615 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.481, allocations: 11.02 kB / 0.9615 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001175/0.4811, allocations: 164.5 kB / 0.9617 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4811, allocations: 0 / 0.9617 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002814/0.4814, allocations: 63.06 kB / 0.9618 GB, free: 14.95 MB / 0.7325 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.001017/0.4824, allocations: 0.9187 MB / 0.9627 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006851/0.4831, allocations: 215.1 kB / 0.9629 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.4831, allocations: 3.938 kB / 0.9629 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.4835, allocations: 120 kB / 0.963 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.4838, allocations: 35.52 kB / 0.963 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.4871, allocations: 2.505 MB / 0.9655 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.4874, allocations: 0.7399 MB / 0.9662 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001644/0.4876, allocations: 34.41 kB / 0.9662 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.4877, allocations: 65.95 kB / 0.9663 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of SimCode: time 1.9e-07/0.4877, allocations: 0 / 0.9663 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.684/2.172, allocations: 4.507 MB / 0.9707 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003061/2.172, allocations: 222.4 kB / 0.9709 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/3.879, allocations: 0 / 0.9709 GB, free: 8.867 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)