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.005648/0.005648, allocations: 95.42 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.001325/0.001325, allocations: 201.4 kB / 16.68 MB, free: 5.969 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 278.5 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9331/0.9331, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 98.47 kB / 0.681 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.147, allocations: 86.97 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.5105/0.6576, allocations: 213.6 MB / 0.9745 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.6701, allocations: 10.19 MB / 0.9845 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.6715, allocations: 39.81 kB / 0.9845 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.6736, allocations: 0.8781 MB / 0.9854 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.6802, allocations: 2.983 MB / 0.9883 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.6835, allocations: 1.427 MB / 0.9897 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003776/0.6873, allocations: 3.167 MB / 0.9928 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.6888, allocations: 1.032 MB / 0.9938 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.6907, allocations: 1.164 MB / 0.9949 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.6928, allocations: 1.071 MB / 0.996 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003246/0.6931, allocations: 124 kB / 0.9961 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004899/0.6981, allocations: 2.743 MB / 0.9988 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006475/0.6987, allocations: 0.4947 MB / 0.9992 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.6999, allocations: 0.7234 MB / 0.9999 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005013/0.7049, allocations: 2.819 MB / 1.003 GB, free: 448 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.705, allocations: 3.938 kB / 1.003 GB, free: 444 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.583e-06/0.705, allocations: 3.938 kB / 1.003 GB, free: 440 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.611e-05/0.705, allocations: 0 / 1.003 GB, free: 440 kB / 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.004495/0.7095, allocations: 1.836 MB / 1.004 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.7096, allocations: 11.97 kB / 1.005 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002247/0.7098, allocations: 152 kB / 1.005 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00296/0.7128, allocations: 438.7 kB / 1.005 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.7144, allocations: 0.8948 MB / 1.006 GB, free: 13 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.7145, allocations: 73.98 kB / 1.006 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.7147, allocations: 92 kB / 1.006 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.7166, allocations: 1.198 MB / 1.007 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.7167, allocations: 7.938 kB / 1.007 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.741e-05/0.7168, allocations: 40 kB / 1.007 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.375e-05/0.7168, allocations: 53.97 kB / 1.007 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.7187, allocations: 1.077 MB / 1.008 GB, free: 10.43 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.005244/0.7239, allocations: 4.76 MB / 1.013 GB, free: 5.273 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.7253, allocations: 0.9909 MB / 1.014 GB, free: 4.238 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.7263, allocations: 0.606 MB / 1.015 GB, free: 3.637 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005537/0.7269, allocations: 0.6733 MB / 1.015 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.7269, allocations: 46.53 kB / 1.015 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/0.7269, allocations: 0 / 1.015 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of matching and sorting (n=83): time 0.003882/0.7308, allocations: 2.314 MB / 1.018 GB, free: 412 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.7309, allocations: 64.34 kB / 1.018 GB, free: 336 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/0.7316, allocations: 0.645 MB / 1.018 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.682e-05/0.7316, allocations: 41.7 kB / 1.018 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.7319, allocations: 468.9 kB / 1.019 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.7322, allocations: 309.3 kB / 1.019 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.7324, allocations: 138.6 kB / 1.019 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7325, allocations: 386.8 kB / 1.02 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.733, allocations: 321.8 kB / 1.02 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005644/0.7336, allocations: 426.5 kB / 1.02 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.7347, allocations: 0.7768 MB / 1.021 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7347, allocations: 8 kB / 1.021 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001419/0.7361, allocations: 0.9468 MB / 1.022 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.7361, allocations: 17.95 kB / 1.022 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.7361, allocations: 0 / 1.022 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.7364, allocations: 65.02 kB / 1.022 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.737, allocations: 155.8 kB / 1.022 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004288/0.7375, allocations: 0.6031 MB / 1.023 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007754/0.7383, allocations: 20 kB / 1.023 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.554e-05/0.7383, allocations: 28 kB / 1.023 GB, free: 10.89 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.0003908/0.7387, allocations: 310.8 kB / 1.023 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.7389, allocations: 95.39 kB / 1.023 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.7404, allocations: 0.9323 MB / 1.024 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.7404, allocations: 8 kB / 1.024 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7404, allocations: 4 kB / 1.024 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/0.7415, allocations: 0.9309 MB / 1.025 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.7444, allocations: 2.106 MB / 1.027 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.7445, allocations: 0 / 1.027 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009297/0.7454, allocations: 195.8 kB / 1.027 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.7454, allocations: 0 / 1.027 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.7455, allocations: 28.81 kB / 1.027 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.7455, allocations: 4 kB / 1.027 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7455, allocations: 0 / 1.027 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.7473, allocations: 1.389 MB / 1.029 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/0.7477, allocations: 256.4 kB / 1.029 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.7479, allocations: 16 kB / 1.029 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000673/0.7486, allocations: 30.36 kB / 1.029 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.7487, allocations: 49.8 kB / 1.029 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.7487, allocations: 32 kB / 1.029 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004873/0.7492, allocations: 463 kB / 1.029 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7492, allocations: 0 / 1.029 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008007/0.75, allocations: 315.9 kB / 1.03 GB, free: 3.617 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.002268/0.7523, allocations: 2.059 MB / 1.032 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.7536, allocations: 0.8168 MB / 1.033 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.7536, allocations: 0 / 1.033 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005668/0.7542, allocations: 441.6 kB / 1.033 GB, free: 296 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/0.7566, allocations: 0.5971 MB / 1.034 GB, free: 15.71 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009839/0.7665, allocations: 7.562 MB / 1.041 GB, free: 7.969 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.7672, allocations: 1.124 MB / 1.042 GB, free: 6.816 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000878/0.768, allocations: 247.8 kB / 1.042 GB, free: 6.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/0.7686, allocations: 383.3 kB / 1.043 GB, free: 6.195 MB / 0.795 GB Notification: Performance of SimCode: time 9.72e-07/0.7686, allocations: 0 / 1.043 GB, free: 6.195 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05104/0.8196, allocations: 28.11 MB / 1.07 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.65, allocations: 14.55 kB / 1.07 GB, free: 10.5 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)