Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.001343/0.001343, allocations: 102.9 kB / 16.27 MB, free: 5.977 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.001471/0.001471, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.235/1.235, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6954/0.6954, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 67.89 kB / 0.4912 GB, free: 7.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3055, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5046/0.8101, allocations: 295.1 MB / 0.8555 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02391/0.8341, allocations: 17.01 MB / 0.8721 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005345/0.8395, allocations: 80.25 kB / 0.8721 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005307/0.8449, allocations: 1.887 MB / 0.874 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01723/0.8621, allocations: 6.443 MB / 0.8803 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006708/0.8689, allocations: 2.924 MB / 0.8831 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00827/0.8771, allocations: 7.712 MB / 0.8907 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/0.88, allocations: 2.602 MB / 0.8932 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003734/0.8837, allocations: 2.763 MB / 0.8959 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003554/0.8873, allocations: 2.704 MB / 0.8985 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004928/0.8878, allocations: 328 kB / 0.8989 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/0.8987, allocations: 6.163 MB / 0.9049 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.9, allocations: 1.336 MB / 0.9062 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00211/0.9021, allocations: 1.883 MB / 0.908 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.9124, allocations: 6.837 MB / 0.9147 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.9124, allocations: 4 kB / 0.9147 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9124, allocations: 4 kB / 0.9147 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.913e-05/0.9125, allocations: 0 / 0.9147 GB, free: 2.965 MB / 0.6231 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.008807/0.9213, allocations: 4.129 MB / 0.9187 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.9213, allocations: 12.62 kB / 0.9187 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003898/0.9217, allocations: 363 kB / 0.9191 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005712/0.9274, allocations: 0.9172 MB / 0.92 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.9302, allocations: 1.842 MB / 0.9218 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.9304, allocations: 193.1 kB / 0.922 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/0.9307, allocations: 267.8 kB / 0.9222 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00472/0.9354, allocations: 3.331 MB / 0.9255 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.147e-05/0.9355, allocations: 4 kB / 0.9255 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.9358, allocations: 111.9 kB / 0.9256 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.9359, allocations: 133 kB / 0.9257 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005153/0.9411, allocations: 3.506 MB / 0.9291 GB, free: 3.918 MB / 0.6387 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.01317/0.9542, allocations: 12.22 MB / 0.9411 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/0.9584, allocations: 3.521 MB / 0.9445 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002466/0.9609, allocations: 1.81 MB / 0.9463 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/0.9623, allocations: 1.497 MB / 0.9477 GB, free: 15.55 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.9623, allocations: 64.69 kB / 0.9478 GB, free: 15.48 MB / 0.67 GB Notification: Performance of pre-optimization done (n=278): time 4.068e-06/0.9623, allocations: 0 / 0.9478 GB, free: 15.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=278): time 0.005971/0.9683, allocations: 3.881 MB / 0.9516 GB, free: 11.55 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.9684, allocations: 81.59 kB / 0.9517 GB, free: 11.46 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.97, allocations: 1.38 MB / 0.953 GB, free: 10.07 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.9702, allocations: 77.7 kB / 0.9531 GB, free: 9.988 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006055/0.9708, allocations: 0.9804 MB / 0.9541 GB, free: 8.996 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007212/0.9715, allocations: 0.9509 MB / 0.955 GB, free: 8.031 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005832/0.9721, allocations: 405 kB / 0.9554 GB, free: 7.629 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.9722, allocations: 301.1 kB / 0.9557 GB, free: 7.332 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.9738, allocations: 1.098 MB / 0.9567 GB, free: 6.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.9756, allocations: 1.351 MB / 0.958 GB, free: 4.812 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003638/0.9792, allocations: 2.646 MB / 0.9606 GB, free: 2.074 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.9792, allocations: 4 kB / 0.9606 GB, free: 2.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004315/0.9836, allocations: 2.982 MB / 0.9635 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.9836, allocations: 11.98 kB / 0.9636 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.9836, allocations: 4 kB / 0.9636 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/0.9836, allocations: 12 kB / 0.9636 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.9857, allocations: 0.511 MB / 0.9641 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/0.9857, allocations: 16 kB / 0.9641 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.9875, allocations: 181.9 kB / 0.9643 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.9877, allocations: 88.08 kB / 0.9643 GB, free: 14.22 MB / 0.6856 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.0009705/0.9887, allocations: 0.6494 MB / 0.965 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/0.989, allocations: 229.2 kB / 0.9652 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004606/0.9936, allocations: 3.112 MB / 0.9682 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.9937, allocations: 32 kB / 0.9683 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.9937, allocations: 0 / 0.9683 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003539/0.9972, allocations: 2.653 MB / 0.9709 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00836/1.006, allocations: 6.221 MB / 0.9769 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.006, allocations: 0 / 0.9769 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002355/1.008, allocations: 0.5462 MB / 0.9775 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/1.008, allocations: 8 kB / 0.9775 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/1.008, allocations: 55.98 kB / 0.9775 GB, free: 484 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/1.008, allocations: 15.94 kB / 0.9775 GB, free: 468 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.008, allocations: 3.984 kB / 0.9775 GB, free: 464 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00625/1.014, allocations: 4.567 MB / 0.982 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.016, allocations: 0.6071 MB / 0.9826 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/1.016, allocations: 48 kB / 0.9826 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/1.017, allocations: 71.81 kB / 0.9827 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/1.018, allocations: 166 kB / 0.9829 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/1.018, allocations: 79.97 kB / 0.9829 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001193/1.019, allocations: 0.9461 MB / 0.9839 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/1.019, allocations: 4 kB / 0.9839 GB, free: 9.871 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001922/1.021, allocations: 0.9785 MB / 0.9848 GB, free: 8.891 MB / 0.7012 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.006746/1.028, allocations: 5.393 MB / 0.9901 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0116/1.039, allocations: 5.537 MB / 0.9955 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.04, allocations: 4.062 kB / 0.9955 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/1.042, allocations: 1.511 MB / 0.997 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005885/1.048, allocations: 1.348 MB / 0.9983 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/1.078, allocations: 21.3 MB / 1.019 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/1.079, allocations: 1.899 MB / 1.021 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00308/1.082, allocations: 0.8397 MB / 1.022 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/1.084, allocations: 1.089 MB / 1.023 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/1.084, allocations: 0 / 1.023 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3106/1.395, allocations: 67.67 MB / 1.089 GB, free: 272.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.575/9.969, allocations: 6.531 kB / 1.089 GB, free: 272.4 MB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)