Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 216.9 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002517/0.002517, allocations: 279.8 kB / 312.7 MB, free: 2.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.211/1.211, allocations: 180.6 MB / 0.5369 GB, free: 12.94 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 103.8 kB / 0.7396 GB, free: 28.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1897, allocations: 95.38 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.7495/0.9392, allocations: 208.3 MB / 1.036 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009469/0.9487, allocations: 6.403 MB / 1.042 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/0.9504, allocations: 51.09 kB / 1.042 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.9523, allocations: 0.7678 MB / 1.043 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006231/0.9585, allocations: 2.829 MB / 1.046 GB, free: 2.75 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.9602, allocations: 0.7324 MB / 1.047 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003792/0.964, allocations: 3.36 MB / 1.05 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.9651, allocations: 0.8172 MB / 1.051 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.9672, allocations: 1.31 MB / 1.052 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.9692, allocations: 1.175 MB / 1.053 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.9694, allocations: 128.8 kB / 1.053 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00476/0.9741, allocations: 2.557 MB / 1.056 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005556/0.9747, allocations: 0.5292 MB / 1.056 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009089/0.9756, allocations: 0.7411 MB / 1.057 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004835/0.9804, allocations: 2.81 MB / 1.06 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9805, allocations: 1 kB / 1.06 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9805, allocations: 0 / 1.06 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.039e-05/0.9805, allocations: 0 / 1.06 GB, free: 1.41 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003726/0.9842, allocations: 1.735 MB / 1.061 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.9842, allocations: 12 kB / 1.061 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.9844, allocations: 160.4 kB / 1.062 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.9864, allocations: 352.5 kB / 1.062 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.9878, allocations: 0.8173 MB / 1.063 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.9879, allocations: 81.11 kB / 1.063 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.988, allocations: 100.7 kB / 1.063 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.9898, allocations: 1.187 MB / 1.064 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.9898, allocations: 0 / 1.064 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.883e-05/0.9899, allocations: 42.69 kB / 1.064 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-05/0.99, allocations: 62.75 kB / 1.064 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.9917, allocations: 1.247 MB / 1.065 GB, free: 14.82 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.00659/0.9983, allocations: 5.058 MB / 1.07 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.9996, allocations: 0.83 MB / 1.071 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/1, allocations: 495.8 kB / 1.072 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-05/1, allocations: 13.91 kB / 1.072 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007129/1.001, allocations: 493.3 kB / 1.072 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.795e-06/1.001, allocations: 0 / 1.072 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001907/1.003, allocations: 1.156 MB / 1.073 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/1.003, allocations: 68.06 kB / 1.073 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/1.004, allocations: 0.5747 MB / 1.074 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/1.004, allocations: 42.11 kB / 1.074 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/1.004, allocations: 469.5 kB / 1.074 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/1.004, allocations: 280.3 kB / 1.075 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/1.005, allocations: 133.4 kB / 1.075 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001994/1.005, allocations: 386.5 kB / 1.075 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/1.005, allocations: 335.5 kB / 1.075 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/1.006, allocations: 444 kB / 1.076 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/1.007, allocations: 0.8256 MB / 1.077 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.007, allocations: 0.6562 kB / 1.077 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001355/1.008, allocations: 0.9375 MB / 1.078 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.008, allocations: 5 kB / 1.078 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.008, allocations: 5.812 kB / 1.078 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.008, allocations: 3.625 kB / 1.078 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/1.009, allocations: 161 kB / 1.078 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.009, allocations: 6.531 kB / 1.078 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007103/1.01, allocations: 70.97 kB / 1.078 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/1.01, allocations: 28.94 kB / 1.078 GB, free: 6.227 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004964/1.01, allocations: 329.1 kB / 1.078 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/1.01, allocations: 90.91 kB / 1.078 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/1.01, allocations: 105.3 kB / 1.078 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/1.011, allocations: 12.22 kB / 1.078 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/1.011, allocations: 0 / 1.078 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/1.012, allocations: 1.094 MB / 1.079 GB, free: 5.051 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 postOpt removeSimpleEquations (simulation): time 0.003277/1.015, allocations: 2.278 MB / 1.082 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.015, allocations: 0 / 1.082 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/1.016, allocations: 175.8 kB / 1.082 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/1.016, allocations: 5.219 kB / 1.082 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/1.016, allocations: 17.92 kB / 1.082 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.016, allocations: 5.812 kB / 1.082 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.016, allocations: 0 / 1.082 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/1.018, allocations: 1.363 MB / 1.083 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004901/1.019, allocations: 179.4 kB / 1.083 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/1.019, allocations: 17.84 kB / 1.083 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/1.019, allocations: 21.3 kB / 1.083 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.019, allocations: 50.06 kB / 1.083 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/1.019, allocations: 22.22 kB / 1.083 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005415/1.02, allocations: 413.3 kB / 1.084 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/1.02, allocations: 0 / 1.084 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001083/1.021, allocations: 373 kB / 1.084 GB, free: 2.219 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.002534/1.024, allocations: 1.983 MB / 1.086 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001303/1.025, allocations: 0.7644 MB / 1.087 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.025, allocations: 0 / 1.087 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005531/1.025, allocations: 416 kB / 1.087 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/1.028, allocations: 0.5948 MB / 1.088 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.039, allocations: 7.278 MB / 1.095 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008848/1.04, allocations: 1.14 MB / 1.096 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001002/1.041, allocations: 275.2 kB / 1.096 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/1.041, allocations: 379.3 kB / 1.097 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of SimCode: time 1.433e-06/1.041, allocations: 0 / 1.097 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06416/1.106, allocations: 26.72 MB / 1.123 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.99, allocations: 3.125 kB / 1.123 GB, free: 11.43 MB / 0.7794 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.236040805000812] Failed to read output from testmodel.py, exit status != 0: 13.10372563800047 13.127662757 12.142742035 Calling exit ...