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.00136/0.00136, 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.001399/0.001399, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002596/0.002596, allocations: 279 kB / 290.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002777/0.002777, allocations: 96.38 kB / 0.6065 GB, free: 24.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1524, allocations: 89.14 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.4603/0.6128, allocations: 192.6 MB / 0.8817 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00637/0.6192, allocations: 4.022 MB / 0.8856 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00055/0.6198, allocations: 23 kB / 0.8856 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.621, allocations: 473.1 kB / 0.8861 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003319/0.6244, allocations: 1.534 MB / 0.8876 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/0.6275, allocations: 1.356 MB / 0.8889 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002039/0.6296, allocations: 1.631 MB / 0.8905 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.6308, allocations: 0.9509 MB / 0.8914 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.6321, allocations: 0.9151 MB / 0.8923 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.6332, allocations: 0.8565 MB / 0.8932 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.6334, allocations: 92 kB / 0.8933 GB, free: 15 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.6358, allocations: 1.309 MB / 0.8945 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003743/0.6362, allocations: 350.9 kB / 0.8949 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005759/0.6368, allocations: 0.5094 MB / 0.8954 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.6389, allocations: 1.617 MB / 0.8969 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6389, allocations: 0 / 0.8969 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6389, allocations: 7.938 kB / 0.897 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.639, allocations: 4 kB / 0.897 GB, free: 11.2 MB / 0.6231 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.003166/0.6421, allocations: 1.449 MB / 0.8984 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.6422, allocations: 8.031 kB / 0.8984 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.6423, allocations: 90.52 kB / 0.8985 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.6439, allocations: 234.8 kB / 0.8987 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009183/0.6448, allocations: 0.5875 MB / 0.8993 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.6449, allocations: 41 kB / 0.8993 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.645, allocations: 55.92 kB / 0.8994 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.6467, allocations: 0.9609 MB / 0.9003 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.6468, allocations: 0 / 0.9003 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.569e-05/0.6468, allocations: 24 kB / 0.9003 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/0.6469, allocations: 27.98 kB / 0.9003 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.6486, allocations: 0.9406 MB / 0.9013 GB, free: 6.617 MB / 0.6231 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.005721/0.6543, allocations: 4.255 MB / 0.9054 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.6554, allocations: 0.6022 MB / 0.906 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008603/0.6563, allocations: 0.5104 MB / 0.9065 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.6575, allocations: 0.8783 MB / 0.9074 GB, free: 4 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.057e-05/0.6576, allocations: 43 kB / 0.9074 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001601/0.6592, allocations: 419.1 kB / 0.9078 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=50): time 3.978e-06/0.6592, allocations: 3.938 kB / 0.9078 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50): time 0.0194/0.6786, allocations: 3.845 MB / 0.9116 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.6787, allocations: 55.84 kB / 0.9116 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.6797, allocations: 0.7154 MB / 0.9123 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.6798, allocations: 33.7 kB / 0.9123 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.6801, allocations: 316.6 kB / 0.9126 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.6803, allocations: 177.5 kB / 0.9128 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.6806, allocations: 150 kB / 0.913 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6807, allocations: 322 kB / 0.9133 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007264/0.6814, allocations: 400.9 kB / 0.9137 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008385/0.6823, allocations: 489.5 kB / 0.9141 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.6839, allocations: 0.9219 MB / 0.915 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.684, allocations: 0 / 0.915 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01252/0.6965, allocations: 2.56 MB / 0.9175 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.6965, allocations: 4 kB / 0.9175 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6965, allocations: 4.875 kB / 0.9175 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01061/0.7071, allocations: 1.726 MB / 0.9192 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.7076, allocations: 95.86 kB / 0.9193 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/0.7219, allocations: 7.16 MB / 0.9263 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008208/0.7228, allocations: 16.06 kB / 0.9263 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.7229, allocations: 47.92 kB / 0.9264 GB, free: 12.08 MB / 0.6544 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.0004414/0.7233, allocations: 206.3 kB / 0.9266 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.7236, allocations: 82.97 kB / 0.9266 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005698/0.7293, allocations: 1.738 MB / 0.9283 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.7293, allocations: 7.938 kB / 0.9283 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.7294, allocations: 4 kB / 0.9283 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.7294, allocations: 3.984 kB / 0.9283 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006818/0.7362, allocations: 2.55 MB / 0.9308 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.7362, allocations: 4 kB / 0.9308 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.7367, allocations: 87.89 kB / 0.9309 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003744/0.7405, allocations: 0.8056 MB / 0.9317 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/0.7406, allocations: 16 kB / 0.9317 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007613/0.7482, allocations: 4.865 MB / 0.9365 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7482, allocations: 4 kB / 0.9365 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005804/0.754, allocations: 2.155 MB / 0.9386 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004426/0.7545, allocations: 228 kB / 0.9388 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.7547, allocations: 12 kB / 0.9388 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000622/0.7553, allocations: 19.98 kB / 0.9388 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.7555, allocations: 56.42 kB / 0.9389 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.7555, allocations: 24 kB / 0.9389 GB, free: 14.78 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006929/0.7562, allocations: 0.499 MB / 0.9394 GB, free: 14.28 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7562, allocations: 3.938 kB / 0.9394 GB, free: 14.28 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009492/0.7572, allocations: 287.8 kB / 0.9397 GB, free: 14 MB / 0.67 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.006431/0.7636, allocations: 2.81 MB / 0.9424 GB, free: 11.14 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004004/0.7676, allocations: 1.504 MB / 0.9439 GB, free: 9.609 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7677, allocations: 0 / 0.9439 GB, free: 9.609 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/0.7697, allocations: 0.9263 MB / 0.9448 GB, free: 8.656 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.7719, allocations: 463.8 kB / 0.9452 GB, free: 8.219 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03267/0.8045, allocations: 10.69 MB / 0.9557 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007181/0.8053, allocations: 0.9789 MB / 0.9566 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007555/0.806, allocations: 166.6 kB / 0.9568 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/0.8065, allocations: 283.3 kB / 0.9571 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of SimCode: time 4.61e-07/0.8065, allocations: 0 / 0.9571 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06997/0.8765, allocations: 29.47 MB / 0.9858 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.33, allocations: 11.31 kB / 0.9859 GB, free: 14.82 MB / 0.7169 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)