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.008297/0.008304, allocations: 97.2 kB / 15.73 MB, free: 6.039 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.001817/0.001817, allocations: 201.8 kB / 16.68 MB, free: 5.961 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002525/0.002525, allocations: 283 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002606, allocations: 96.17 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1678, allocations: 86.98 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.5523/0.7201, allocations: 192.6 MB / 0.954 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006703/0.7269, allocations: 4.03 MB / 0.9579 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007475/0.7277, allocations: 23.88 kB / 0.958 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.729, allocations: 473 kB / 0.9584 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.7324, allocations: 1.536 MB / 0.9599 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003194/0.7356, allocations: 1.344 MB / 0.9612 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002157/0.7378, allocations: 1.643 MB / 0.9628 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.739, allocations: 0.9587 MB / 0.9638 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.7403, allocations: 0.919 MB / 0.9647 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.7415, allocations: 0.8526 MB / 0.9655 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.7417, allocations: 103.9 kB / 0.9656 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.7441, allocations: 1.302 MB / 0.9669 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003854/0.7445, allocations: 347 kB / 0.9672 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005688/0.7451, allocations: 0.5133 MB / 0.9677 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.7474, allocations: 1.645 MB / 0.9693 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.7474, allocations: 3.984 kB / 0.9693 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7474, allocations: 0 / 0.9693 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.799e-06/0.7474, allocations: 0 / 0.9693 GB, free: 2.734 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.002955/0.7504, allocations: 1.471 MB / 0.9707 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.7504, allocations: 16.03 kB / 0.9708 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.7506, allocations: 90.45 kB / 0.9708 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.7521, allocations: 252.5 kB / 0.9711 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009249/0.753, allocations: 0.6155 MB / 0.9717 GB, free: 204 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.753, allocations: 37 kB / 0.9717 GB, free: 168 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.7532, allocations: 48 kB / 0.9718 GB, free: 120 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.7547, allocations: 0.9609 MB / 0.9727 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.7548, allocations: 15.92 kB / 0.9727 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.059e-05/0.7549, allocations: 16 kB / 0.9727 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.7549, allocations: 28 kB / 0.9728 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.7565, allocations: 0.9406 MB / 0.9737 GB, free: 14.08 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.005547/0.7621, allocations: 4.263 MB / 0.9778 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.7631, allocations: 0.5978 MB / 0.9784 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008364/0.764, allocations: 0.5143 MB / 0.9789 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.7652, allocations: 0.8783 MB / 0.9798 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.7652, allocations: 42.98 kB / 0.9798 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001495/0.7667, allocations: 415.5 kB / 0.9802 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 2.705e-06/0.7667, allocations: 0 / 0.9802 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01764/0.7844, allocations: 3.842 MB / 0.984 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.7845, allocations: 59.78 kB / 0.984 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.7856, allocations: 0.7194 MB / 0.9847 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.7857, allocations: 37.7 kB / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.786, allocations: 317 kB / 0.9851 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.7862, allocations: 190.3 kB / 0.9852 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.7865, allocations: 150.1 kB / 0.9854 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.7867, allocations: 326 kB / 0.9857 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000721/0.7874, allocations: 398.5 kB / 0.9861 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000814/0.7882, allocations: 485.5 kB / 0.9865 GB, free: 408 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.7898, allocations: 0.918 MB / 0.9874 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.7898, allocations: 0 / 0.9874 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01131/0.8012, allocations: 2.564 MB / 0.9899 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.8012, allocations: 11.94 kB / 0.99 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.8012, allocations: 0 / 0.99 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009597/0.8108, allocations: 1.73 MB / 0.9916 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/0.8114, allocations: 99.73 kB / 0.9917 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.8248, allocations: 7.141 MB / 0.9987 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007978/0.8256, allocations: 20.05 kB / 0.9987 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.8257, allocations: 43.94 kB / 0.9988 GB, free: 3.535 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.0004074/0.8261, allocations: 213 kB / 0.999 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.8263, allocations: 87.47 kB / 0.9991 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005079/0.8314, allocations: 1.743 MB / 1.001 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.8314, allocations: 8 kB / 1.001 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.8315, allocations: 3.938 kB / 1.001 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.8315, allocations: 3.984 kB / 1.001 GB, free: 1.461 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005863/0.8373, allocations: 2.544 MB / 1.003 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.8374, allocations: 0 / 1.003 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.8378, allocations: 95.81 kB / 1.003 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003359/0.8412, allocations: 0.8022 MB / 1.004 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-05/0.8413, allocations: 16 kB / 1.004 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007419/0.8487, allocations: 4.857 MB / 1.009 GB, free: 8.785 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8488, allocations: 0 / 1.009 GB, free: 8.785 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005507/0.8543, allocations: 2.156 MB / 1.011 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/0.8548, allocations: 232.5 kB / 1.011 GB, free: 6.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.8549, allocations: 12 kB / 1.011 GB, free: 6.328 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/0.8555, allocations: 27.97 kB / 1.011 GB, free: 6.301 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.8557, allocations: 56.38 kB / 1.011 GB, free: 6.246 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/0.8558, allocations: 19.94 kB / 1.011 GB, free: 6.227 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007124/0.8565, allocations: 0.5029 MB / 1.012 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8565, allocations: 0 / 1.012 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009836/0.8575, allocations: 291.8 kB / 1.012 GB, free: 5.445 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.006338/0.8638, allocations: 2.797 MB / 1.015 GB, free: 2.609 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004138/0.868, allocations: 1.477 MB / 1.016 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.868, allocations: 0 / 1.016 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.87, allocations: 0.9145 MB / 1.017 GB, free: 160 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/0.8724, allocations: 470.2 kB / 1.018 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03082/0.9032, allocations: 10.46 MB / 1.028 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/0.9039, allocations: 0.9867 MB / 1.029 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006969/0.9046, allocations: 166.6 kB / 1.029 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.9051, allocations: 283.3 kB / 1.029 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.9051, allocations: 0 / 1.029 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07119/0.9763, allocations: 29.69 MB / 1.058 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.09, allocations: 14.34 kB / 1.058 GB, free: 6.34 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)