Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.001238/0.001238, allocations: 108.8 kB / 15.99 MB, free: 6.332 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.001205/0.001205, allocations: 197.2 kB / 16.91 MB, free: 6.18 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.215/1.215, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6656/0.6656, allocations: 115.3 MB / 406.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.91 kB / 493.2 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2676, allocations: 76.17 MB / 0.556 GB, free: 36.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001965/0.2696, allocations: 1.354 MB / 0.5573 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003989/0.27, allocations: 293 kB / 0.5576 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.2701, allocations: 0 / 0.5576 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.2701, allocations: 8.062 kB / 0.5576 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.2702, allocations: 5.25 kB / 0.5576 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.2704, allocations: 77.97 kB / 0.5577 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.742e-05/0.2705, allocations: 36.7 kB / 0.5577 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.2705, allocations: 2.719 kB / 0.5577 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.2706, allocations: 32.23 kB / 0.5578 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.883e-05/0.2707, allocations: 11.48 kB / 0.5578 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.2707, allocations: 0 / 0.5578 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.2708, allocations: 83.69 kB / 0.5579 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.2708, allocations: 6.234 kB / 0.5579 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.2709, allocations: 9.844 kB / 0.5579 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.271, allocations: 77.41 kB / 0.558 GB, free: 35.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.271, allocations: 0.625 kB / 0.558 GB, free: 35.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.271, allocations: 2.969 kB / 0.558 GB, free: 35.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.271, allocations: 0 / 0.558 GB, free: 35.16 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002557/0.2713, allocations: 347.4 kB / 0.5583 GB, free: 34.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2713, allocations: 11.69 kB / 0.5583 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.462e-05/0.2713, allocations: 33.91 kB / 0.5583 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.2714, allocations: 10.19 kB / 0.5583 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.045e-05/0.2714, allocations: 168.5 kB / 0.5585 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.2715, allocations: 384 / 0.5585 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.2715, allocations: 1.688 kB / 0.5585 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.693e-05/0.2715, allocations: 51.39 kB / 0.5586 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.2716, allocations: 0 / 0.5586 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.2716, allocations: 0 / 0.5586 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.2716, allocations: 1.625 kB / 0.5586 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.297e-05/0.2716, allocations: 8.219 kB / 0.5586 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.999e-05/0.2717, allocations: 159.9 kB / 0.5587 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.999e-05/0.2718, allocations: 37.08 kB / 0.5588 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.2718, allocations: 9.703 kB / 0.5588 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007292/0.2726, allocations: 1.188 MB / 0.5599 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.2726, allocations: 36.03 kB / 0.56 GB, free: 32.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2726, allocations: 0 / 0.56 GB, free: 32.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001194/0.2727, allocations: 53.2 kB / 0.56 GB, free: 32.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/0.2727, allocations: 52.81 kB / 0.5601 GB, free: 32.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.427e-05/0.2728, allocations: 115.8 kB / 0.5602 GB, free: 32.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.2728, allocations: 25.7 kB / 0.5602 GB, free: 32.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.144e-05/0.2728, allocations: 81.48 kB / 0.5603 GB, free: 32.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.2728, allocations: 7.938 kB / 0.5603 GB, free: 32.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.2729, allocations: 18.22 kB / 0.5603 GB, free: 32.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.325e-05/0.2729, allocations: 313.2 kB / 0.5606 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.2729, allocations: 7.156 kB / 0.5606 GB, free: 32.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.127e-05/0.2729, allocations: 8.531 kB / 0.5606 GB, free: 32.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.273, allocations: 17.39 kB / 0.5606 GB, free: 32.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.273, allocations: 1.25 kB / 0.5606 GB, free: 32.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.731e-05/0.273, allocations: 53.78 kB / 0.5607 GB, free: 32.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.2731, allocations: 4.344 kB / 0.5607 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.2731, allocations: 1.5 kB / 0.5607 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.2731, allocations: 0 / 0.5607 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-05/0.2731, allocations: 7.578 kB / 0.5607 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.2731, allocations: 0 / 0.5607 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.2732, allocations: 1.062 kB / 0.5607 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.2732, allocations: 5.25 kB / 0.5607 GB, free: 32.19 MB / 446.1 MB 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 (3): * Single equations (assignments): 3 * 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 3.82e-05/0.2732, allocations: 117 kB / 0.5608 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.2732, allocations: 7.297 kB / 0.5608 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.2733, allocations: 55.5 kB / 0.5609 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2733, allocations: 0.9375 kB / 0.5609 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2733, allocations: 1.375 kB / 0.5609 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.2734, allocations: 3.516 kB / 0.5609 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.671e-05/0.2734, allocations: 162.5 kB / 0.561 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2734, allocations: 10.61 kB / 0.561 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.2735, allocations: 6.438 kB / 0.561 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2735, allocations: 1.594 kB / 0.561 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.2735, allocations: 1.312 kB / 0.561 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2735, allocations: 0 / 0.561 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2735, allocations: 0 / 0.561 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.406e-05/0.2735, allocations: 76.84 kB / 0.5611 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.2736, allocations: 87.34 kB / 0.5612 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.2736, allocations: 4.172 kB / 0.5612 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.832e-05/0.2736, allocations: 4.703 kB / 0.5612 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.2737, allocations: 2.609 kB / 0.5612 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.2737, allocations: 1.547 kB / 0.5612 GB, free: 31.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.354e-05/0.2737, allocations: 88.09 kB / 0.5613 GB, free: 31.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2737, allocations: 0.5938 kB / 0.5613 GB, free: 31.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.2739, allocations: 34.03 kB / 0.5613 GB, free: 31.55 MB / 446.1 MB 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 (3): * Single equations (assignments): 3 * 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.0002542/0.2742, allocations: 0.6371 MB / 0.562 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.147e-05/0.2742, allocations: 18.67 kB / 0.562 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2743, allocations: 0 / 0.562 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.497e-05/0.2743, allocations: 8.219 kB / 0.562 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.2745, allocations: 8.781 kB / 0.562 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.2748, allocations: 178.3 kB / 0.5622 GB, free: 30.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.61e-05/0.2748, allocations: 0.6795 MB / 0.5628 GB, free: 30.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.211e-05/0.2749, allocations: 11.75 kB / 0.5628 GB, free: 30.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.2749, allocations: 10.59 kB / 0.5628 GB, free: 30.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2749, allocations: 0 / 0.5628 GB, free: 30.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9949/1.27, allocations: 1.525 MB / 0.5643 GB, free: 29.85 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/1.27, allocations: 215.3 kB / 0.5645 GB, free: 29.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.82, allocations: 2.031 kB / 0.5645 GB, free: 29.59 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)