Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.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.OneRoom,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom",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.001275/0.001275, allocations: 112.5 kB / 15.73 MB, free: 76 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.001295/0.001295, allocations: 191.3 kB / 16.66 MB, free: 6.582 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.474/1.474, 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.002394/0.002394, allocations: 282.8 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002834/0.002834, allocations: 100.8 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1762, allocations: 86.96 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.5854/0.7616, allocations: 213.6 MB / 0.9745 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01512/0.7768, allocations: 10.21 MB / 0.9845 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.7784, allocations: 43.75 kB / 0.9845 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.7806, allocations: 0.8352 MB / 0.9853 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007355/0.788, allocations: 2.89 MB / 0.9881 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.7917, allocations: 1.409 MB / 0.9895 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004566/0.7963, allocations: 3.166 MB / 0.9926 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.7979, allocations: 1.026 MB / 0.9936 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.8, allocations: 1.129 MB / 0.9947 GB, free: 8.598 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.8021, allocations: 1.077 MB / 0.9958 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.8024, allocations: 120 kB / 0.9959 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006137/0.8085, allocations: 2.728 MB / 0.9985 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008453/0.8094, allocations: 0.4947 MB / 0.999 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.8105, allocations: 0.7234 MB / 0.9997 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005391/0.8159, allocations: 2.815 MB / 1.002 GB, free: 0.625 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.816, allocations: 0 / 1.002 GB, free: 0.625 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.994e-06/0.816, allocations: 0 / 1.002 GB, free: 0.625 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.816, allocations: 0 / 1.002 GB, free: 0.625 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004134/0.8201, allocations: 1.844 MB / 1.004 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.8202, allocations: 8.031 kB / 1.004 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001991/0.8204, allocations: 156 kB / 1.004 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/0.8232, allocations: 446.1 kB / 1.005 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.8247, allocations: 0.8909 MB / 1.006 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.8248, allocations: 74 kB / 1.006 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.825, allocations: 92 kB / 1.006 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.827, allocations: 1.206 MB / 1.007 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.8271, allocations: 4 kB / 1.007 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.931e-05/0.8272, allocations: 39.98 kB / 1.007 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.699e-05/0.8272, allocations: 53.92 kB / 1.007 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.8292, allocations: 1.077 MB / 1.008 GB, free: 10.61 MB / 0.7637 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.005785/0.8349, allocations: 4.76 MB / 1.013 GB, free: 5.457 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.8365, allocations: 0.9957 MB / 1.014 GB, free: 4.414 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.8376, allocations: 0.5943 MB / 1.014 GB, free: 3.824 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007038/0.8384, allocations: 0.6772 MB / 1.015 GB, free: 3 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.8384, allocations: 39.22 kB / 1.015 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.524e-06/0.8384, allocations: 0 / 1.015 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of matching and sorting (n=83): time 0.00443/0.8428, allocations: 2.322 MB / 1.017 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.8429, allocations: 64.34 kB / 1.017 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008533/0.8438, allocations: 0.645 MB / 1.018 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.8439, allocations: 41.7 kB / 1.018 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.8442, allocations: 464.9 kB / 1.019 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.8445, allocations: 305.3 kB / 1.019 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.8448, allocations: 134.6 kB / 1.019 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.845, allocations: 394.8 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/0.8455, allocations: 325.8 kB / 1.02 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006376/0.8462, allocations: 422.5 kB / 1.02 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.8474, allocations: 0.7846 MB / 1.021 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8474, allocations: 0 / 1.021 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00166/0.8491, allocations: 0.9507 MB / 1.022 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.8491, allocations: 8 kB / 1.022 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.8491, allocations: 0 / 1.022 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002662/0.8494, allocations: 65.02 kB / 1.022 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/0.8501, allocations: 159.8 kB / 1.022 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005198/0.8507, allocations: 0.6031 MB / 1.023 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/0.8514, allocations: 20 kB / 1.023 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.8515, allocations: 28 kB / 1.023 GB, free: 11.08 MB / 0.7794 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004764/0.8519, allocations: 312.8 kB / 1.023 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.8521, allocations: 99.38 kB / 1.023 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.8538, allocations: 0.926 MB / 1.024 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.8538, allocations: 12 kB / 1.024 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8538, allocations: 0.875 kB / 1.024 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/0.8552, allocations: 0.9309 MB / 1.025 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/0.8584, allocations: 2.106 MB / 1.027 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.8584, allocations: 0 / 1.027 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000933/0.8594, allocations: 195.8 kB / 1.027 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.8594, allocations: 0 / 1.027 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.8595, allocations: 24.81 kB / 1.027 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.8595, allocations: 8 kB / 1.027 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8595, allocations: 3.984 kB / 1.027 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.8616, allocations: 1.381 MB / 1.028 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.862, allocations: 260.4 kB / 1.029 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.8621, allocations: 16 kB / 1.029 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/0.8628, allocations: 29.03 kB / 1.029 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.8629, allocations: 52.92 kB / 1.029 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.356e-05/0.863, allocations: 31.94 kB / 1.029 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005795/0.8636, allocations: 463 kB / 1.029 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8636, allocations: 0 / 1.029 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008712/0.8645, allocations: 319.9 kB / 1.03 GB, free: 3.797 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002712/0.8672, allocations: 2.051 MB / 1.032 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.8687, allocations: 0.8168 MB / 1.032 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8687, allocations: 3.938 kB / 1.032 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006577/0.8693, allocations: 437.6 kB / 1.033 GB, free: 488 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/0.8718, allocations: 0.5947 MB / 1.033 GB, free: 15.9 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.8833, allocations: 7.561 MB / 1.041 GB, free: 8.16 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008746/0.8842, allocations: 1.12 MB / 1.042 GB, free: 7.012 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0009864/0.8852, allocations: 259.7 kB / 1.042 GB, free: 6.754 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006232/0.8858, allocations: 387.3 kB / 1.042 GB, free: 6.375 MB / 0.795 GB Notification: Performance of SimCode: time 6.61e-07/0.8858, allocations: 0 / 1.042 GB, free: 6.375 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06256/0.9484, allocations: 28.1 MB / 1.07 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.98, allocations: 10.88 kB / 1.07 GB, free: 10.69 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom_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_OneRoom.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)