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.001318/0.001318, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001453/0.001453, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.781 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.002519/0.002519, allocations: 286.7 kB / 312.7 MB, free: 2.59 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.198/1.198, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.002955/0.002955, allocations: 102.4 kB / 0.7395 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1537, allocations: 95.38 MB / 0.8326 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.5848/0.7386, allocations: 180.8 MB / 1.009 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008251/0.7468, allocations: 5.988 MB / 1.015 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.7479, allocations: 54.02 kB / 1.015 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.7495, allocations: 0.6819 MB / 1.016 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005748/0.7552, allocations: 2.806 MB / 1.018 GB, free: 3.254 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.0016/0.7568, allocations: 0.7251 MB / 1.019 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003321/0.7601, allocations: 3.322 MB / 1.022 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.7612, allocations: 0.8098 MB / 1.023 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.7631, allocations: 1.317 MB / 1.025 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.765, allocations: 1.121 MB / 1.026 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.7652, allocations: 129.7 kB / 1.026 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/0.7685, allocations: 1.921 MB / 1.028 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004425/0.769, allocations: 0.5296 MB / 1.028 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006396/0.7696, allocations: 0.6215 MB / 1.029 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.7728, allocations: 2.728 MB / 1.031 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7728, allocations: 0.9375 kB / 1.031 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7728, allocations: 0 / 1.031 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.489e-05/0.7728, allocations: 3.938 kB / 1.031 GB, free: 2.707 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.003542/0.7763, allocations: 1.732 MB / 1.033 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.7764, allocations: 10.06 kB / 1.033 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.7766, allocations: 165.2 kB / 1.033 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.7786, allocations: 353.7 kB / 1.034 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.78, allocations: 0.8173 MB / 1.034 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.7801, allocations: 74.06 kB / 1.034 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.7802, allocations: 101.8 kB / 1.035 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.782, allocations: 1.391 MB / 1.036 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.782, allocations: 3.641 kB / 1.036 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.7821, allocations: 45.8 kB / 1.036 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.7822, allocations: 59.52 kB / 1.036 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.7838, allocations: 1.243 MB / 1.037 GB, free: 17.19 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.004776/0.7885, allocations: 3.117 MB / 1.04 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.7898, allocations: 0.8284 MB / 1.041 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.7903, allocations: 494.1 kB / 1.042 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.7904, allocations: 14.36 kB / 1.042 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007341/0.7911, allocations: 0.6803 MB / 1.042 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/0.7911, allocations: 0.7812 kB / 1.042 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001617/0.7927, allocations: 1.161 MB / 1.043 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.7928, allocations: 63.11 kB / 1.043 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/0.7933, allocations: 0.5773 MB / 1.044 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/0.7934, allocations: 41.8 kB / 1.044 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.7936, allocations: 468.8 kB / 1.044 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.7938, allocations: 282 kB / 1.045 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.7939, allocations: 135.3 kB / 1.045 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.7941, allocations: 384.3 kB / 1.045 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.7945, allocations: 333 kB / 1.046 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/0.795, allocations: 450.3 kB / 1.046 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/0.7959, allocations: 0.8205 MB / 1.047 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.7959, allocations: 2.5 kB / 1.047 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001146/0.797, allocations: 0.9343 MB / 1.048 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7971, allocations: 12.19 kB / 1.048 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7971, allocations: 2.188 kB / 1.048 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.7971, allocations: 9.875 kB / 1.048 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/0.7977, allocations: 152.9 kB / 1.048 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.7977, allocations: 13.77 kB / 1.048 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/0.7984, allocations: 66.94 kB / 1.048 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.7984, allocations: 27.69 kB / 1.048 GB, free: 14.76 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.0003938/0.7988, allocations: 329.8 kB / 1.048 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.799, allocations: 79.88 kB / 1.048 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.7991, allocations: 108.9 kB / 1.048 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.7992, allocations: 16.17 kB / 1.048 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.7992, allocations: 0.9688 kB / 1.048 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001182/0.8003, allocations: 1.088 MB / 1.05 GB, free: 13.71 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.002966/0.8033, allocations: 2.025 MB / 1.052 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8033, allocations: 3.094 kB / 1.052 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007736/0.8041, allocations: 179.8 kB / 1.052 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.8041, allocations: 2.719 kB / 1.052 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.8042, allocations: 14.69 kB / 1.052 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.8042, allocations: 2.906 kB / 1.052 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8042, allocations: 0 / 1.052 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.8059, allocations: 1.358 MB / 1.053 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004504/0.8063, allocations: 187.1 kB / 1.053 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.8064, allocations: 19.41 kB / 1.053 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006089/0.807, allocations: 19.38 kB / 1.053 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/0.8071, allocations: 48.55 kB / 1.053 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.8072, allocations: 26.47 kB / 1.053 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004476/0.8076, allocations: 411 kB / 1.054 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8076, allocations: 3.25 kB / 1.054 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007956/0.8084, allocations: 367.6 kB / 1.054 GB, free: 11.7 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.002182/0.8106, allocations: 1.975 MB / 1.056 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.8117, allocations: 0.763 MB / 1.057 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8117, allocations: 2.969 kB / 1.057 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.8122, allocations: 408.5 kB / 1.057 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.8146, allocations: 0.5888 MB / 1.058 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009112/0.8238, allocations: 7.301 MB / 1.065 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.8243, allocations: 0.5408 MB / 1.065 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008783/0.8252, allocations: 275.6 kB / 1.066 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/0.8257, allocations: 385.7 kB / 1.066 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of SimCode: time 7.72e-07/0.8257, allocations: 0 / 1.066 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06714/0.8929, allocations: 28.72 MB / 1.094 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.67, allocations: 10.58 kB / 1.094 GB, free: 14.93 MB / 0.7637 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: 16.857267575804144] Failed to read output from testmodel.py, exit status != 0: 12.791497375816107 12.813990927 12.036826277 Calling exit ...