Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ClosedDoors",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.001133/0.001133, allocations: 101 kB / 16.4 MB, free: 6.492 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.001131/0.001131, allocations: 192 kB / 17.34 MB, free: 5.723 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7338/0.7338, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 71.16 kB / 0.5679 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1392, allocations: 77.93 MB / 0.6441 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ClosedDoors): time 0.5611/0.7003, allocations: 218.5 MB / 0.8574 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02562/0.726, allocations: 20.43 MB / 0.8774 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.7291, allocations: 59.62 kB / 0.8774 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003371/0.7325, allocations: 1.302 MB / 0.8787 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.7431, allocations: 4.201 MB / 0.8828 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004645/0.7478, allocations: 1.559 MB / 0.8843 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008819/0.7567, allocations: 6.971 MB / 0.8911 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003969/0.7607, allocations: 2.358 MB / 0.8934 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005088/0.7658, allocations: 2.43 MB / 0.8958 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005225/0.7711, allocations: 2.46 MB / 0.8982 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001268/0.7724, allocations: 344 kB / 0.8985 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007979/0.7804, allocations: 3.489 MB / 0.902 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002263/0.7827, allocations: 1.446 MB / 0.9034 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004071/0.7868, allocations: 1.863 MB / 0.9052 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.7972, allocations: 5.799 MB / 0.9108 GB, free: 10.52 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7972, allocations: 0 / 0.9108 GB, free: 10.52 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7973, allocations: 0 / 0.9108 GB, free: 10.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001594/0.7974, allocations: 0 / 0.9108 GB, free: 10.52 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01101/0.8084, allocations: 4.033 MB / 0.9148 GB, free: 6.422 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.8085, allocations: 8.625 kB / 0.9148 GB, free: 6.414 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009632/0.8095, allocations: 395.6 kB / 0.9152 GB, free: 6.02 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/0.8148, allocations: 0.8371 MB / 0.916 GB, free: 5.18 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004544/0.8193, allocations: 1.946 MB / 0.9179 GB, free: 3.176 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.8195, allocations: 201.4 kB / 0.9181 GB, free: 2.977 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008266/0.8204, allocations: 275.9 kB / 0.9183 GB, free: 2.707 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006963/0.8274, allocations: 3.283 MB / 0.9216 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.212e-05/0.8275, allocations: 4 kB / 0.9216 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005107/0.828, allocations: 112 kB / 0.9217 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/0.8281, allocations: 129.4 kB / 0.9218 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00807/0.8362, allocations: 4.619 MB / 0.9263 GB, free: 10.51 MB / 0.6856 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.0187/0.8549, allocations: 10.94 MB / 0.937 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006641/0.8616, allocations: 4.863 MB / 0.9417 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00416/0.8658, allocations: 2.531 MB / 0.9442 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/0.867, allocations: 0.8603 MB / 0.945 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.008e-05/0.8671, allocations: 81.62 kB / 0.9451 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=399): time 5.09e-06/0.8671, allocations: 0 / 0.9451 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of matching and sorting (n=399): time 0.01145/0.8786, allocations: 6.032 MB / 0.951 GB, free: 228 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.8787, allocations: 94.55 kB / 0.9511 GB, free: 120 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.8808, allocations: 1.232 MB / 0.9523 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005725/0.8814, allocations: 97.64 kB / 0.9524 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000598/0.882, allocations: 0.8229 MB / 0.9532 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001573/0.8836, allocations: 1.398 MB / 0.9546 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/0.885, allocations: 0.543 MB / 0.9551 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.8851, allocations: 305.1 kB / 0.9554 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/0.8879, allocations: 1.603 MB / 0.957 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003034/0.891, allocations: 1.909 MB / 0.9588 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006315/0.8973, allocations: 3.831 MB / 0.9626 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/0.8974, allocations: 0 / 0.9626 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007749/0.9051, allocations: 4.216 MB / 0.9667 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.9052, allocations: 8 kB / 0.9667 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.9052, allocations: 4 kB / 0.9667 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.535e-05/0.9053, allocations: 16 kB / 0.9667 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/0.9083, allocations: 0.6791 MB / 0.9674 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.929e-05/0.9084, allocations: 31.86 kB / 0.9674 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/0.9112, allocations: 250.1 kB / 0.9676 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004166/0.9116, allocations: 112 kB / 0.9677 GB, free: 14.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.001621/0.9132, allocations: 0.7235 MB / 0.9684 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008064/0.914, allocations: 258.4 kB / 0.9687 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008158/0.9222, allocations: 4.629 MB / 0.9732 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/0.9223, allocations: 40 kB / 0.9733 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/0.9223, allocations: 0 / 0.9733 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006484/0.9288, allocations: 3.958 MB / 0.9771 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/0.9442, allocations: 8.286 MB / 0.9852 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.9443, allocations: 0 / 0.9852 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003098/0.9474, allocations: 0.6515 MB / 0.9858 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000535/0.9479, allocations: 150.4 kB / 0.986 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000487/0.9484, allocations: 83.97 kB / 0.9861 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003818/0.9523, allocations: 5.031 MB / 0.991 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9523, allocations: 3.938 kB / 0.991 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/0.9639, allocations: 6.841 MB / 0.9977 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002157/0.9661, allocations: 0.7719 MB / 0.9984 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007203/0.9668, allocations: 67.98 kB / 0.9985 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002356/0.9692, allocations: 89.09 kB / 0.9986 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005934/0.9698, allocations: 222.8 kB / 0.9988 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003773/0.9702, allocations: 116 kB / 0.9989 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001366/0.9716, allocations: 0.8606 MB / 0.9997 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9716, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002876/0.9745, allocations: 1.069 MB / 1.001 GB, free: 12.36 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0117/0.9862, allocations: 7.631 MB / 1.008 GB, free: 4.656 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006925/0.9931, allocations: 4.055 MB / 1.012 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.9932, allocations: 7.938 kB / 1.012 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00429/0.9975, allocations: 2.552 MB / 1.015 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005585/1.003, allocations: 1.074 MB / 1.016 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03972/1.043, allocations: 23.1 MB / 1.038 GB, free: 5.555 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002057/1.045, allocations: 1.943 MB / 1.04 GB, free: 3.57 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004247/1.049, allocations: 1.208 MB / 1.041 GB, free: 2.355 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002291/1.052, allocations: 1.089 MB / 1.042 GB, free: 1.266 MB / 0.795 GB Notification: Performance of SimCode: time 9.72e-07/1.052, allocations: 3.938 kB / 1.042 GB, free: 1.262 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.393/1.445, allocations: 66.7 MB / 1.108 GB, free: 299.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/15.65, allocations: 8 kB / 1.108 GB, free: 299.3 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ClosedDoors.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)