Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_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.005387/0.005387, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001517/0.001517, allocations: 202 kB / 16.68 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002464/0.002464, allocations: 292 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.148/1.148, allocations: 178.5 MB / 0.5074 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 99.84 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3509, allocations: 89.13 MB / 0.7813 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.206/0.5569, allocations: 192.6 MB / 0.9694 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006103/0.5631, allocations: 4.024 MB / 0.9734 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005931/0.5637, allocations: 27.88 kB / 0.9734 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.5649, allocations: 469 kB / 0.9738 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.5682, allocations: 1.528 MB / 0.9753 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.5713, allocations: 1.362 MB / 0.9767 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002144/0.5735, allocations: 1.631 MB / 0.9783 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.5747, allocations: 0.9432 MB / 0.9792 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.5761, allocations: 0.9267 MB / 0.9801 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.5773, allocations: 0.8487 MB / 0.9809 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.5774, allocations: 99.94 kB / 0.981 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.5798, allocations: 1.317 MB / 0.9823 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003666/0.5802, allocations: 355 kB / 0.9826 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005621/0.5808, allocations: 0.5094 MB / 0.9831 GB, free: 9.32 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.5831, allocations: 1.634 MB / 0.9847 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5831, allocations: 0 / 0.9847 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5831, allocations: 3.938 kB / 0.9847 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.5831, allocations: 0 / 0.9847 GB, free: 7.68 MB / 0.7481 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.002952/0.5861, allocations: 1.479 MB / 0.9862 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.5861, allocations: 12.03 kB / 0.9862 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.5863, allocations: 86.52 kB / 0.9863 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.5878, allocations: 251.2 kB / 0.9865 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009164/0.5887, allocations: 0.6116 MB / 0.9871 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.5888, allocations: 41 kB / 0.9871 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.5889, allocations: 51.98 kB / 0.9872 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.5904, allocations: 0.9608 MB / 0.9881 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.5905, allocations: 7.953 kB / 0.9881 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.018e-05/0.5905, allocations: 24 kB / 0.9882 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/0.5906, allocations: 35.92 kB / 0.9882 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.5922, allocations: 0.9367 MB / 0.9891 GB, free: 3.016 MB / 0.7481 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.2888/0.881, allocations: 4.24 MB / 0.9932 GB, free: 202 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000985/0.882, allocations: 0.5972 MB / 0.9938 GB, free: 202 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00073/0.8827, allocations: 0.5204 MB / 0.9943 GB, free: 201.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008151/0.8835, allocations: 0.8775 MB / 0.9952 GB, free: 200.8 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.8836, allocations: 38.23 kB / 0.9952 GB, free: 200.8 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00144/0.885, allocations: 416.7 kB / 0.9956 GB, free: 200.7 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=50): time 2.956e-06/0.885, allocations: 3.469 kB / 0.9956 GB, free: 200.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=50): time 0.01755/0.9026, allocations: 3.844 MB / 0.9994 GB, free: 199.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.9026, allocations: 64.97 kB / 0.9994 GB, free: 199.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/0.9035, allocations: 0.7067 MB / 1 GB, free: 199.5 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.492e-05/0.9036, allocations: 36.48 kB / 1 GB, free: 199.4 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.9038, allocations: 322.9 kB / 1 GB, free: 199.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.9039, allocations: 186.4 kB / 1.001 GB, free: 199.1 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.9042, allocations: 149.6 kB / 1.001 GB, free: 199 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.9042, allocations: 326.5 kB / 1.001 GB, free: 198.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/0.9049, allocations: 396.3 kB / 1.001 GB, free: 198.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.9055, allocations: 485 kB / 1.002 GB, free: 198.2 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.907, allocations: 0.9183 MB / 1.003 GB, free: 197.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.907, allocations: 5 kB / 1.003 GB, free: 197.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01149/0.9185, allocations: 2.57 MB / 1.005 GB, free: 196.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.9185, allocations: 9.062 kB / 1.005 GB, free: 196.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.9185, allocations: 5.797 kB / 1.005 GB, free: 196.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009233/0.9278, allocations: 1.727 MB / 1.007 GB, free: 195.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.9282, allocations: 97.67 kB / 1.007 GB, free: 195.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.9391, allocations: 7.152 MB / 1.014 GB, free: 190 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008434/0.94, allocations: 16.2 kB / 1.014 GB, free: 190 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.1e-05/0.9401, allocations: 52.77 kB / 1.014 GB, free: 190 MB / 0.7481 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.0003465/0.9404, allocations: 209 kB / 1.014 GB, free: 189.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.9406, allocations: 83.92 kB / 1.014 GB, free: 189.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004604/0.9452, allocations: 1.732 MB / 1.016 GB, free: 188.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.9452, allocations: 6 kB / 1.016 GB, free: 188.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.9452, allocations: 3.812 kB / 1.016 GB, free: 188.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.9453, allocations: 7.984 kB / 1.016 GB, free: 188.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/0.9504, allocations: 2.542 MB / 1.019 GB, free: 187.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.9505, allocations: 1.375 kB / 1.019 GB, free: 187.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.9509, allocations: 92.83 kB / 1.019 GB, free: 187.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003215/0.9541, allocations: 0.7865 MB / 1.02 GB, free: 186.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.9542, allocations: 18.83 kB / 1.02 GB, free: 186.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005542/0.9597, allocations: 4.861 MB / 1.024 GB, free: 182.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-06/0.9597, allocations: 2.656 kB / 1.024 GB, free: 182.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004798/0.9645, allocations: 2.159 MB / 1.026 GB, free: 181.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/0.9649, allocations: 234.1 kB / 1.027 GB, free: 181.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.965, allocations: 15.97 kB / 1.027 GB, free: 181.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/0.9656, allocations: 23.86 kB / 1.027 GB, free: 181.3 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.9658, allocations: 59.84 kB / 1.027 GB, free: 181.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.9658, allocations: 23.77 kB / 1.027 GB, free: 181.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004778/0.9663, allocations: 0.4964 MB / 1.027 GB, free: 181 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9663, allocations: 0 / 1.027 GB, free: 181 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008094/0.9671, allocations: 288.3 kB / 1.028 GB, free: 180.9 MB / 0.7481 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.004961/0.9721, allocations: 2.822 MB / 1.03 GB, free: 179.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003024/0.9751, allocations: 1.463 MB / 1.032 GB, free: 178.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9751, allocations: 0 / 1.032 GB, free: 178.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.9767, allocations: 0.9223 MB / 1.033 GB, free: 177.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.9785, allocations: 459.9 kB / 1.033 GB, free: 176.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/1.005, allocations: 10.46 MB / 1.043 GB, free: 166.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/1.005, allocations: 0.9789 MB / 1.044 GB, free: 165.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005533/1.005, allocations: 166.6 kB / 1.044 GB, free: 165 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/1.006, allocations: 283.3 kB / 1.045 GB, free: 164.7 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/1.006, allocations: 0 / 1.045 GB, free: 164.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05651/1.062, allocations: 29.7 MB / 1.074 GB, free: 135.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.25, allocations: 7.938 kB / 1.074 GB, free: 135.4 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)