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.004999/0.004999, allocations: 97.3 kB / 15.73 MB, free: 6.055 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.001211/0.001211, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 297.8 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.89/0.89, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 91.92 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1428, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.483/0.6259, allocations: 192.6 MB / 0.954 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005339/0.6312, allocations: 4.026 MB / 0.9579 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004233/0.6317, allocations: 23.88 kB / 0.9579 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.6327, allocations: 493 kB / 0.9584 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.6355, allocations: 1.608 MB / 0.96 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.6382, allocations: 1.362 MB / 0.9613 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001597/0.6398, allocations: 1.636 MB / 0.9629 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009761/0.6408, allocations: 0.9587 MB / 0.9639 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.6419, allocations: 0.9346 MB / 0.9648 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008571/0.6428, allocations: 0.8604 MB / 0.9656 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.6429, allocations: 92 kB / 0.9657 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.6448, allocations: 1.317 MB / 0.967 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.6451, allocations: 347 kB / 0.9673 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004343/0.6455, allocations: 0.5133 MB / 0.9678 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.6472, allocations: 1.645 MB / 0.9694 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.6473, allocations: 0 / 0.9694 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6473, allocations: 0 / 0.9694 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.6473, allocations: 0 / 0.9694 GB, free: 2.574 MB / 0.7169 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.002642/0.6499, allocations: 1.482 MB / 0.9709 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.65, allocations: 8.031 kB / 0.9709 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.6501, allocations: 90.45 kB / 0.971 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.6516, allocations: 251.2 kB / 0.9712 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008294/0.6524, allocations: 0.6116 MB / 0.9718 GB, free: 40 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.6524, allocations: 37 kB / 0.9718 GB, free: 4 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.6526, allocations: 48.05 kB / 0.9719 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.6539, allocations: 0.9666 MB / 0.9728 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.6539, allocations: 7.938 kB / 0.9728 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.654, allocations: 20 kB / 0.9728 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.654, allocations: 31.98 kB / 0.9729 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.6554, allocations: 0.9367 MB / 0.9738 GB, free: 13.92 MB / 0.7325 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.004612/0.6601, allocations: 4.263 MB / 0.978 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008746/0.6609, allocations: 0.6042 MB / 0.9785 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.6616, allocations: 0.5104 MB / 0.979 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008894/0.6625, allocations: 0.886 MB / 0.9799 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.6626, allocations: 35 kB / 0.9799 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00132/0.6639, allocations: 419.5 kB / 0.9803 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 2.234e-06/0.6639, allocations: 7.938 kB / 0.9804 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01683/0.6808, allocations: 3.834 MB / 0.9841 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.6808, allocations: 63.78 kB / 0.9842 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008762/0.6817, allocations: 0.7077 MB / 0.9848 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.6818, allocations: 37.7 kB / 0.9849 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.6821, allocations: 324.9 kB / 0.9852 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.6822, allocations: 194.3 kB / 0.9854 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.6825, allocations: 154.1 kB / 0.9855 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.6826, allocations: 322 kB / 0.9858 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/0.6832, allocations: 392.9 kB / 0.9862 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.6839, allocations: 489.5 kB / 0.9867 GB, free: 236 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.6852, allocations: 0.9181 MB / 0.9876 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6853, allocations: 0 / 0.9876 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01082/0.6961, allocations: 2.564 MB / 0.9901 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.6961, allocations: 12.06 kB / 0.9901 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.6961, allocations: 4 kB / 0.9901 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009083/0.7052, allocations: 1.726 MB / 0.9918 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.7057, allocations: 96.42 kB / 0.9919 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.7175, allocations: 7.142 MB / 0.9988 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/0.7184, allocations: 16.06 kB / 0.9989 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/0.7185, allocations: 47.92 kB / 0.9989 GB, free: 3.367 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.0003589/0.7189, allocations: 210.3 kB / 0.9991 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.719, allocations: 89.11 kB / 0.9992 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004826/0.7239, allocations: 1.742 MB / 1.001 GB, free: 1.309 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.7239, allocations: 8 kB / 1.001 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.7239, allocations: 4 kB / 1.001 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7239, allocations: 0 / 1.001 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005565/0.7295, allocations: 2.544 MB / 1.003 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7295, allocations: 0 / 1.003 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.7299, allocations: 91.83 kB / 1.003 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00334/0.7333, allocations: 0.8107 MB / 1.004 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.7333, allocations: 16 kB / 1.004 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006178/0.7395, allocations: 4.857 MB / 1.009 GB, free: 8.621 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.7395, allocations: 0 / 1.009 GB, free: 8.621 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004983/0.7445, allocations: 2.151 MB / 1.011 GB, free: 6.426 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/0.7449, allocations: 236.5 kB / 1.011 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.7451, allocations: 20 kB / 1.011 GB, free: 6.156 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.7457, allocations: 19.98 kB / 1.011 GB, free: 6.137 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.7458, allocations: 60.36 kB / 1.011 GB, free: 6.078 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.7459, allocations: 23.94 kB / 1.011 GB, free: 6.055 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005887/0.7465, allocations: 0.4912 MB / 1.012 GB, free: 5.57 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7465, allocations: 3.938 kB / 1.012 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008796/0.7474, allocations: 295.8 kB / 1.012 GB, free: 5.277 MB / 0.7637 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.00558/0.753, allocations: 2.796 MB / 1.015 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003358/0.7563, allocations: 1.472 MB / 1.016 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.7563, allocations: 0 / 1.016 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.7581, allocations: 0.9185 MB / 1.017 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.7601, allocations: 462.8 kB / 1.018 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/0.789, allocations: 10.47 MB / 1.028 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.7896, allocations: 0.9789 MB / 1.029 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006243/0.7903, allocations: 158.6 kB / 1.029 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.7907, allocations: 287.3 kB / 1.029 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of SimCode: time 1.082e-06/0.7907, allocations: 0 / 1.029 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05464/0.8454, allocations: 29.69 MB / 1.058 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.18, allocations: 8 kB / 1.058 GB, free: 6.176 MB / 0.8106 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)