Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.001463/0.001463, allocations: 110.4 kB / 16.46 MB, free: 6.508 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.001606/0.001606, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.312/1.312, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002339/0.002339, allocations: 275.7 kB / 309.1 MB, free: 3.977 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.119/1.119, allocations: 180.9 MB / 0.5333 GB, free: 13.76 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 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.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.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.002637/0.002637, allocations: 97.47 kB / 0.7342 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1519, allocations: 95.34 MB / 0.8273 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6432/0.795, allocations: 299.5 MB / 1.12 GB, free: 0.793 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.8205, allocations: 17.04 MB / 1.136 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.8236, allocations: 111.2 kB / 1.137 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004554/0.8282, allocations: 2.001 MB / 1.138 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01579/0.844, allocations: 6.628 MB / 1.145 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007739/0.8517, allocations: 2.975 MB / 1.148 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.8621, allocations: 7.702 MB / 1.155 GB, free: 12.25 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003535/0.8657, allocations: 2.169 MB / 1.157 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005196/0.8709, allocations: 2.893 MB / 1.16 GB, free: 7.113 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005233/0.8761, allocations: 2.862 MB / 1.163 GB, free: 4.258 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000792/0.8769, allocations: 328 kB / 1.163 GB, free: 3.938 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.8889, allocations: 6.55 MB / 1.17 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.8907, allocations: 1.375 MB / 1.171 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003034/0.8937, allocations: 1.879 MB / 1.173 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.9055, allocations: 6.912 MB / 1.18 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.9055, allocations: 0 / 1.18 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9055, allocations: 0 / 1.18 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001252/0.9056, allocations: 0 / 1.18 GB, free: 3.172 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01075/0.9164, allocations: 4.242 MB / 1.184 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.9164, allocations: 12.03 kB / 1.184 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004941/0.9169, allocations: 367 kB / 1.184 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006032/0.9229, allocations: 0.9384 MB / 1.185 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/0.9262, allocations: 1.933 MB / 1.187 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.9263, allocations: 189.1 kB / 1.187 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004001/0.9267, allocations: 267.9 kB / 1.187 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005364/0.9321, allocations: 3.334 MB / 1.191 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/0.9321, allocations: 7.938 kB / 1.191 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.9324, allocations: 107.9 kB / 1.191 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.9325, allocations: 137 kB / 1.191 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005786/0.9383, allocations: 3.498 MB / 1.194 GB, free: 3.898 MB / 0.8262 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.01599/0.9543, allocations: 12.18 MB / 1.206 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004743/0.9591, allocations: 3.332 MB / 1.21 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002843/0.9619, allocations: 1.704 MB / 1.211 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/0.9636, allocations: 1.485 MB / 1.213 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.9636, allocations: 68.75 kB / 1.213 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=278): time 4.098e-06/0.9636, allocations: 0 / 1.213 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=278): time 0.006821/0.9704, allocations: 3.89 MB / 1.217 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.9705, allocations: 85.53 kB / 1.217 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.9725, allocations: 1.376 MB / 1.218 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.9727, allocations: 77.7 kB / 1.218 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007804/0.9734, allocations: 1.002 MB / 1.219 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009388/0.9744, allocations: 0.9953 MB / 1.22 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006388/0.975, allocations: 405 kB / 1.22 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.9751, allocations: 305.1 kB / 1.221 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.977, allocations: 1.098 MB / 1.222 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/0.979, allocations: 1.364 MB / 1.223 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004115/0.9831, allocations: 2.65 MB / 1.226 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.9831, allocations: 0 / 1.226 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004868/0.988, allocations: 2.983 MB / 1.229 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.988, allocations: 11.98 kB / 1.229 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.988, allocations: 8 kB / 1.229 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.9881, allocations: 12 kB / 1.229 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.9902, allocations: 0.511 MB / 1.229 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.595e-05/0.9903, allocations: 23.88 kB / 1.229 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.9921, allocations: 186.6 kB / 1.229 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.9923, allocations: 83.98 kB / 1.229 GB, free: 14.47 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001038/0.9933, allocations: 0.6483 MB / 1.23 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004702/0.9938, allocations: 242.5 kB / 1.23 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005363/0.9992, allocations: 3.108 MB / 1.233 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.9992, allocations: 28 kB / 1.233 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.9992, allocations: 3.938 kB / 1.233 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00409/1.003, allocations: 2.657 MB / 1.236 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009916/1.013, allocations: 6.217 MB / 1.242 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.013, allocations: 0 / 1.242 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/1.016, allocations: 0.5384 MB / 1.243 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.712e-05/1.016, allocations: 12 kB / 1.243 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/1.016, allocations: 59.98 kB / 1.243 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/1.016, allocations: 12 kB / 1.243 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.016, allocations: 0 / 1.243 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007129/1.023, allocations: 4.586 MB / 1.247 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.024, allocations: 0.6198 MB / 1.248 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/1.025, allocations: 48 kB / 1.248 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/1.026, allocations: 62.06 kB / 1.248 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/1.027, allocations: 166 kB / 1.248 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.027, allocations: 87.97 kB / 1.248 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001352/1.028, allocations: 0.9423 MB / 1.249 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/1.028, allocations: 0 / 1.249 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002079/1.03, allocations: 0.9867 MB / 1.25 GB, free: 9.121 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (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,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.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 (278): * Single equations (assignments): 278 * 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.007932/1.038, allocations: 5.405 MB / 1.255 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004538/1.043, allocations: 2.622 MB / 1.258 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.043, allocations: 0 / 1.258 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/1.045, allocations: 1.395 MB / 1.259 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005677/1.051, allocations: 1.349 MB / 1.26 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03122/1.082, allocations: 19.54 MB / 1.28 GB, free: 10.35 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/1.084, allocations: 1.899 MB / 1.281 GB, free: 8.418 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00263/1.086, allocations: 0.8397 MB / 1.282 GB, free: 7.574 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001694/1.088, allocations: 1.093 MB / 1.283 GB, free: 6.48 MB / 0.92 GB Notification: Performance of SimCode: time 8.51e-07/1.088, allocations: 3.938 kB / 1.283 GB, free: 6.477 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.21, allocations: 68.66 MB / 1.35 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/13.29, allocations: 8.062 kB / 1.35 GB, free: 2.648 MB / 0.9825 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_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_ReverseBuoyancy3Zones.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.397560744080693] Failed to read output from testmodel.py, exit status != 0: 13.398487901315093 13.681055816 12.773478725 Calling exit ...