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.001219/0.001219, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001355/0.001355, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.175/1.175, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.002099/0.002099, allocations: 237.6 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.8292/0.8292, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 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.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: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.563e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.765/0.765, allocations: 262.1 MB / 0.9023 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02643/0.7914, allocations: 15.89 MB / 0.9178 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005807/0.7972, allocations: 107.2 kB / 0.9179 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005129/0.8024, allocations: 1.809 MB / 0.9197 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0191/0.8215, allocations: 6.892 MB / 0.9264 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.009198/0.8307, allocations: 3.06 MB / 0.9294 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01317/0.8438, allocations: 7.97 MB / 0.9372 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6481/1.492, allocations: 1.951 MB / 0.9391 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00884/1.501, allocations: 3.842 MB / 0.9428 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004834/1.506, allocations: 2.542 MB / 0.9453 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0005598/1.506, allocations: 326.2 kB / 0.9456 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01286/1.519, allocations: 5.164 MB / 0.9507 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.002532/1.522, allocations: 1.448 MB / 0.9521 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002481/1.524, allocations: 1.372 MB / 0.9534 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.02128/1.545, allocations: 6.986 MB / 0.9602 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/1.545, allocations: 0 / 0.9602 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.869e-06/1.545, allocations: 1.188 kB / 0.9602 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001662/1.545, allocations: 1.641 kB / 0.9602 GB, free: 7.582 MB / 0.7605 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.01329/1.559, allocations: 4.119 MB / 0.9643 GB, free: 21.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 8.852e-05/1.559, allocations: 11.38 kB / 0.9643 GB, free: 21.95 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004888/1.559, allocations: 369.5 kB / 0.9646 GB, free: 21.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004396/1.564, allocations: 0.9397 MB / 0.9655 GB, free: 21.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003997/1.568, allocations: 1.836 MB / 0.9673 GB, free: 21.23 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/1.568, allocations: 193.5 kB / 0.9675 GB, free: 21.22 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003604/1.568, allocations: 260.2 kB / 0.9678 GB, free: 21.22 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006227/1.575, allocations: 3.742 MB / 0.9714 GB, free: 20.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.296e-05/1.575, allocations: 9.594 kB / 0.9714 GB, free: 20.42 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003409/1.575, allocations: 108.4 kB / 0.9715 GB, free: 20.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002957/1.575, allocations: 133.3 kB / 0.9717 GB, free: 20.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006118/1.581, allocations: 3.474 MB / 0.9751 GB, free: 20.38 MB / 0.7761 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.01349/1.595, allocations: 8.17 MB / 0.983 GB, free: 18.28 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003897/1.599, allocations: 2.937 MB / 0.9859 GB, free: 18.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/1.601, allocations: 1.702 MB / 0.9876 GB, free: 18.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006273/1.602, allocations: 221.2 kB / 0.9878 GB, free: 18.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/1.602, allocations: 65.69 kB / 0.9878 GB, free: 18.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=278): time 4.138e-06/1.602, allocations: 3.656 kB / 0.9878 GB, free: 18.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=278): time 0.005542/1.607, allocations: 3.896 MB / 0.9917 GB, free: 17.83 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/1.607, allocations: 82.94 kB / 0.9917 GB, free: 17.76 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/1.609, allocations: 1.386 MB / 0.9931 GB, free: 17.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/1.609, allocations: 72.33 kB / 0.9932 GB, free: 17.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006439/1.61, allocations: 1.002 MB / 0.9941 GB, free: 17.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006784/1.611, allocations: 0.9781 MB / 0.9951 GB, free: 16.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/1.611, allocations: 408.9 kB / 0.9955 GB, free: 16.47 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.611, allocations: 302.1 kB / 0.9958 GB, free: 16.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/1.613, allocations: 1.094 MB / 0.9968 GB, free: 16.17 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/1.614, allocations: 1.359 MB / 0.9982 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003305/1.618, allocations: 2.648 MB / 1.001 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/1.618, allocations: 6.562 kB / 1.001 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004175/1.622, allocations: 2.986 MB / 1.004 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/1.622, allocations: 10.34 kB / 1.004 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.622, allocations: 10.67 kB / 1.004 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/1.622, allocations: 17.19 kB / 1.004 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.623, allocations: 0.5073 MB / 1.004 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.645e-05/1.623, allocations: 18.19 kB / 1.004 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/1.625, allocations: 187.5 kB / 1.004 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/1.625, allocations: 87.38 kB / 1.004 GB, free: 15.41 MB / 0.7761 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.001249/1.627, allocations: 0.6448 MB / 1.005 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/1.627, allocations: 245.9 kB / 1.005 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/1.631, allocations: 3.116 MB / 1.008 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/1.631, allocations: 27.75 kB / 1.008 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.631, allocations: 0 / 1.008 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002881/1.634, allocations: 2.651 MB / 1.011 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008229/1.642, allocations: 5.741 MB / 1.017 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.642, allocations: 0.5625 kB / 1.017 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/1.644, allocations: 0.5406 MB / 1.017 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.171e-05/1.644, allocations: 8.625 kB / 1.017 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/1.644, allocations: 62.75 kB / 1.017 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/1.644, allocations: 15.58 kB / 1.017 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.644, allocations: 0 / 1.017 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005184/1.649, allocations: 4.579 MB / 1.022 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.65, allocations: 0.5471 MB / 1.022 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/1.65, allocations: 49 kB / 1.022 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009638/1.651, allocations: 70.22 kB / 1.022 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003375/1.652, allocations: 173.8 kB / 1.023 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/1.652, allocations: 84.8 kB / 1.023 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001355/1.653, allocations: 0.941 MB / 1.024 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/1.653, allocations: 2.5 kB / 1.024 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002527/1.656, allocations: 0.9903 MB / 1.024 GB, free: 13.45 MB / 0.7761 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.00652/1.662, allocations: 5.4 MB / 1.03 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003652/1.666, allocations: 2.621 MB / 1.032 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.666, allocations: 3.188 kB / 1.032 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/1.668, allocations: 1.395 MB / 1.034 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00418/1.672, allocations: 1.334 MB / 1.035 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02829/1.7, allocations: 19.27 MB / 1.054 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.701, allocations: 1.333 MB / 1.055 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00264/1.704, allocations: 0.8462 MB / 1.056 GB, free: 308 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.705, allocations: 1.09 MB / 1.057 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of SimCode: time 1.152e-06/1.705, allocations: 0 / 1.057 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/1.826, allocations: 74.03 MB / 1.129 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/11.93, allocations: 7.125 kB / 1.129 GB, free: 6.613 MB / 0.8542 GB " [Timeout remaining time 648] (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: 15.606530409306288] Failed to read output from testmodel.py, exit status != 0: 12.046609399840236 12.057071414 10.509098168 Calling exit ...