Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.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.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",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.0009889/0.0009917, allocations: 106.1 kB / 16.27 MB, free: 5.93 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.0009761/0.0009762, allocations: 188.8 kB / 17.2 MB, free: 5.574 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.194/1.194, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6804/0.6804, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3, allocations: 77.93 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.4375/0.7375, allocations: 192.6 MB / 0.7554 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005078/0.7426, allocations: 4.016 MB / 0.7593 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004611/0.7431, allocations: 21.66 kB / 0.7593 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009973/0.7441, allocations: 473.7 kB / 0.7598 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002951/0.7471, allocations: 1.532 MB / 0.7613 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.75, allocations: 1.343 MB / 0.7626 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.7518, allocations: 1.635 MB / 0.7642 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.7529, allocations: 0.9554 MB / 0.7651 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.7542, allocations: 0.9178 MB / 0.766 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009389/0.7552, allocations: 0.8504 MB / 0.7668 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.7553, allocations: 96.5 kB / 0.7669 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.7577, allocations: 1.304 MB / 0.7682 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.758, allocations: 361.3 kB / 0.7685 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005274/0.7585, allocations: 0.5107 MB / 0.769 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.7603, allocations: 1.617 MB / 0.7706 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7603, allocations: 2.672 kB / 0.7706 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.165e-06/0.7603, allocations: 1.219 kB / 0.7706 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.7603, allocations: 0.7188 kB / 0.7706 GB, free: 1.434 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002826/0.7631, allocations: 1.446 MB / 0.772 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.7632, allocations: 10.28 kB / 0.772 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.7633, allocations: 97.84 kB / 0.7721 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.7648, allocations: 236.2 kB / 0.7724 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007157/0.7655, allocations: 0.586 MB / 0.7729 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.7655, allocations: 39.95 kB / 0.773 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.7657, allocations: 53.08 kB / 0.773 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.7669, allocations: 0.9672 MB / 0.774 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.767, allocations: 1.469 kB / 0.774 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/0.7671, allocations: 21.91 kB / 0.774 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/0.7671, allocations: 33.12 kB / 0.774 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.7685, allocations: 0.938 MB / 0.7749 GB, free: 16.14 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004323/0.7728, allocations: 4.269 MB / 0.7791 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.7736, allocations: 0.5939 MB / 0.7797 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/0.7742, allocations: 0.5197 MB / 0.7802 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009041/0.7751, allocations: 0.8739 MB / 0.781 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.7752, allocations: 41.81 kB / 0.7811 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001271/0.7764, allocations: 416.7 kB / 0.7815 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.114e-06/0.7764, allocations: 0 / 0.7815 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01673/0.7932, allocations: 3.842 MB / 0.7852 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7932, allocations: 58.22 kB / 0.7853 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007762/0.794, allocations: 0.7061 MB / 0.786 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.383e-05/0.7941, allocations: 37.06 kB / 0.786 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.7943, allocations: 324.4 kB / 0.7863 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.7945, allocations: 178.6 kB / 0.7865 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.7947, allocations: 152.5 kB / 0.7866 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.7948, allocations: 321.8 kB / 0.7869 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.7954, allocations: 397.9 kB / 0.7873 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/0.796, allocations: 487.7 kB / 0.7878 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.7973, allocations: 0.9216 MB / 0.7887 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7973, allocations: 3.938 kB / 0.7887 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01073/0.808, allocations: 2.557 MB / 0.7912 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.8081, allocations: 8.844 kB / 0.7912 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.8081, allocations: 7.391 kB / 0.7912 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009073/0.8172, allocations: 1.738 MB / 0.7929 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.8176, allocations: 95.58 kB / 0.793 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/0.8287, allocations: 7.152 MB / 0.8 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008408/0.8295, allocations: 17.7 kB / 0.8 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/0.8296, allocations: 48.38 kB / 0.8 GB, free: 8.41 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003473/0.83, allocations: 214.4 kB / 0.8002 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.8301, allocations: 90.34 kB / 0.8003 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004658/0.8348, allocations: 1.722 MB / 0.802 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.8348, allocations: 8.688 kB / 0.802 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8348, allocations: 5.5 kB / 0.802 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.8349, allocations: 3.812 kB / 0.802 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005297/0.8402, allocations: 2.552 MB / 0.8045 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.8402, allocations: 3.562 kB / 0.8045 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.8406, allocations: 88.55 kB / 0.8046 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003261/0.8438, allocations: 0.8111 MB / 0.8054 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.8439, allocations: 16.47 kB / 0.8054 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006244/0.8501, allocations: 4.855 MB / 0.8102 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8502, allocations: 2.562 kB / 0.8102 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00483/0.855, allocations: 2.142 MB / 0.8123 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/0.8554, allocations: 233.3 kB / 0.8125 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.8555, allocations: 11.22 kB / 0.8125 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005714/0.8561, allocations: 24.23 kB / 0.8125 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.8563, allocations: 58.98 kB / 0.8126 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.8563, allocations: 18.44 kB / 0.8126 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005653/0.8569, allocations: 0.4969 MB / 0.8131 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.51e-07/0.8569, allocations: 0 / 0.8131 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000883/0.8578, allocations: 292 kB / 0.8133 GB, free: 2.73 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005222/0.863, allocations: 2.807 MB / 0.8161 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003285/0.8663, allocations: 1.527 MB / 0.8176 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8663, allocations: 0 / 0.8176 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001602/0.8679, allocations: 0.9069 MB / 0.8185 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.8699, allocations: 457.8 kB / 0.8189 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/0.8985, allocations: 10.69 MB / 0.8293 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.8991, allocations: 0.9867 MB / 0.8303 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007339/0.8998, allocations: 158.6 kB / 0.8305 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/0.9002, allocations: 284.5 kB / 0.8307 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of SimCode: time 7.41e-07/0.9002, allocations: 4 kB / 0.8307 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0555/0.9557, allocations: 29.42 MB / 0.8595 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.321/10.28, allocations: 14.25 kB / 0.8595 GB, free: 9.625 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)