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.001055/0.001055, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 286.5 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9471/0.9471, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 97.11 kB / 0.5953 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1478, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.4725/0.6203, allocations: 192.6 MB / 0.8684 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006873/0.6272, allocations: 4.01 MB / 0.8723 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.6284, allocations: 22.78 kB / 0.8723 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.6297, allocations: 481.6 kB / 0.8728 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003741/0.6334, allocations: 1.525 MB / 0.8743 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003269/0.6367, allocations: 1.352 MB / 0.8756 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.6387, allocations: 1.64 MB / 0.8772 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.6402, allocations: 0.9495 MB / 0.8781 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.6421, allocations: 0.9126 MB / 0.879 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.6437, allocations: 0.8591 MB / 0.8799 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003388/0.644, allocations: 93.19 kB / 0.8799 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.6471, allocations: 1.302 MB / 0.8812 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005222/0.6477, allocations: 360.1 kB / 0.8816 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009209/0.6486, allocations: 0.5053 MB / 0.882 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.6518, allocations: 1.619 MB / 0.8836 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6518, allocations: 7.875 kB / 0.8836 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6518, allocations: 0 / 0.8836 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.039e-05/0.6518, allocations: 0 / 0.8836 GB, free: 3.457 MB / 0.5919 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.003896/0.6557, allocations: 1.454 MB / 0.8851 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.6558, allocations: 10.09 kB / 0.8851 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.6559, allocations: 91.95 kB / 0.8852 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.6577, allocations: 234.4 kB / 0.8854 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.6587, allocations: 0.5922 MB / 0.886 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.6587, allocations: 37.53 kB / 0.886 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.6588, allocations: 48.72 kB / 0.886 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.6602, allocations: 0.9648 MB / 0.887 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.6603, allocations: 10.61 kB / 0.887 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/0.6603, allocations: 20.66 kB / 0.887 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/0.6604, allocations: 22.97 kB / 0.887 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.6618, allocations: 0.9379 MB / 0.8879 GB, free: 0.5 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.005003/0.6668, allocations: 4.261 MB / 0.8921 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009042/0.6677, allocations: 0.5972 MB / 0.8927 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007149/0.6684, allocations: 0.5194 MB / 0.8932 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009902/0.6694, allocations: 0.8728 MB / 0.8941 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.6695, allocations: 37.25 kB / 0.8941 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001487/0.671, allocations: 425.1 kB / 0.8945 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 3.236e-06/0.671, allocations: 3.938 kB / 0.8945 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01806/0.6891, allocations: 3.831 MB / 0.8982 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.6892, allocations: 63.84 kB / 0.8983 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.6903, allocations: 0.7116 MB / 0.899 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.6905, allocations: 33.7 kB / 0.899 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.6907, allocations: 320.6 kB / 0.8993 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.6909, allocations: 177.4 kB / 0.8995 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.6912, allocations: 158 kB / 0.8997 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.6913, allocations: 322 kB / 0.9 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006557/0.692, allocations: 400.8 kB / 0.9003 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007867/0.6928, allocations: 493.5 kB / 0.9008 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.6943, allocations: 0.9141 MB / 0.9017 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.6944, allocations: 0 / 0.9017 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01177/0.7061, allocations: 2.564 MB / 0.9042 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.7062, allocations: 6.188 kB / 0.9042 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7062, allocations: 8.125 kB / 0.9042 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.7163, allocations: 1.73 MB / 0.9059 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.7168, allocations: 87.88 kB / 0.906 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/0.7301, allocations: 7.155 MB / 0.913 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009586/0.7311, allocations: 15.98 kB / 0.913 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.7313, allocations: 47.94 kB / 0.913 GB, free: 7.934 MB / 0.6231 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.0004197/0.7317, allocations: 218.3 kB / 0.9133 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.732, allocations: 79.06 kB / 0.9133 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005324/0.7373, allocations: 1.735 MB / 0.915 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.7374, allocations: 11.94 kB / 0.915 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.7374, allocations: 4 kB / 0.915 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.7374, allocations: 3.984 kB / 0.915 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006157/0.7435, allocations: 2.542 MB / 0.9175 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7436, allocations: 0 / 0.9175 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.744, allocations: 91.88 kB / 0.9176 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003522/0.7476, allocations: 0.8057 MB / 0.9184 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.7477, allocations: 12 kB / 0.9184 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006971/0.7546, allocations: 4.858 MB / 0.9232 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.7547, allocations: 0 / 0.9232 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0057/0.7604, allocations: 2.159 MB / 0.9253 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006978/0.7611, allocations: 228.1 kB / 0.9255 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/0.7614, allocations: 12 kB / 0.9255 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007982/0.7622, allocations: 27.97 kB / 0.9255 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.7624, allocations: 52.44 kB / 0.9256 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.7625, allocations: 20 kB / 0.9256 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006648/0.7631, allocations: 0.499 MB / 0.9261 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7631, allocations: 0 / 0.9261 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001055/0.7642, allocations: 291.7 kB / 0.9264 GB, free: 9.863 MB / 0.6387 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.005888/0.7701, allocations: 2.802 MB / 0.9291 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003811/0.7739, allocations: 1.519 MB / 0.9306 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7739, allocations: 4 kB / 0.9306 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.7758, allocations: 0.9225 MB / 0.9315 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.778, allocations: 463.5 kB / 0.9319 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03052/0.8085, allocations: 10.69 MB / 0.9424 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.8091, allocations: 0.9828 MB / 0.9433 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007354/0.8098, allocations: 162.6 kB / 0.9435 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.8103, allocations: 283.3 kB / 0.9437 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of SimCode: time 8.92e-07/0.8103, allocations: 4 kB / 0.9437 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06279/0.8731, allocations: 29.47 MB / 0.9725 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.299/10.17, allocations: 11.67 kB / 0.9725 GB, free: 10.68 MB / 0.6856 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)