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.001276/0.001276, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001284/0.001284, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7877/0.7877, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.66 kB / 0.5735 GB, free: 26.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.155, allocations: 78.86 MB / 0.6505 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ClosedDoors): time 0.5436/0.6986, allocations: 218.6 MB / 0.864 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02785/0.7265, allocations: 20.45 MB / 0.8839 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002465/0.729, allocations: 51.75 kB / 0.884 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003167/0.7322, allocations: 1.247 MB / 0.8852 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.7426, allocations: 4.086 MB / 0.8892 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.7467, allocations: 1.545 MB / 0.8907 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009448/0.7562, allocations: 6.966 MB / 0.8975 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003958/0.7602, allocations: 2.359 MB / 0.8998 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005198/0.7654, allocations: 2.465 MB / 0.9022 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004957/0.7704, allocations: 2.439 MB / 0.9046 GB, free: 14.74 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008497/0.7713, allocations: 344 kB / 0.9049 GB, free: 14.41 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007238/0.7785, allocations: 3.461 MB / 0.9083 GB, free: 10.94 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001859/0.7804, allocations: 1.45 MB / 0.9097 GB, free: 9.484 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003081/0.7835, allocations: 1.863 MB / 0.9115 GB, free: 7.613 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009592/0.7931, allocations: 5.788 MB / 0.9172 GB, free: 1.812 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7931, allocations: 3.938 kB / 0.9172 GB, free: 1.809 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7932, allocations: 0 / 0.9172 GB, free: 1.809 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000117/0.7933, allocations: 0 / 0.9172 GB, free: 1.809 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.01036/0.8036, allocations: 4.037 MB / 0.9211 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.8037, allocations: 8.031 kB / 0.9212 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006086/0.8043, allocations: 387.8 kB / 0.9215 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004736/0.8091, allocations: 0.8524 MB / 0.9224 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004044/0.8131, allocations: 1.943 MB / 0.9243 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.8133, allocations: 205.4 kB / 0.9244 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004519/0.8138, allocations: 264 kB / 0.9247 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005646/0.8194, allocations: 3.287 MB / 0.9279 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-05/0.8195, allocations: 3.953 kB / 0.9279 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002733/0.8198, allocations: 115.9 kB / 0.928 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/0.8199, allocations: 125.4 kB / 0.9281 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007398/0.8273, allocations: 4.616 MB / 0.9327 GB, free: 1.793 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.01726/0.8446, allocations: 11.11 MB / 0.9435 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006427/0.8511, allocations: 4.862 MB / 0.9482 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/0.8549, allocations: 2.535 MB / 0.9507 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.856, allocations: 0.8605 MB / 0.9516 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.004e-05/0.8561, allocations: 77.64 kB / 0.9516 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=399): time 4.889e-06/0.8561, allocations: 0 / 0.9516 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=399): time 0.01061/0.8668, allocations: 6.036 MB / 0.9575 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.8669, allocations: 94.55 kB / 0.9576 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.8688, allocations: 1.232 MB / 0.9588 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002551/0.8691, allocations: 93.7 kB / 0.9589 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000645/0.8698, allocations: 0.819 MB / 0.9597 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001293/0.8711, allocations: 1.402 MB / 0.9611 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008533/0.8719, allocations: 0.543 MB / 0.9616 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8721, allocations: 305.1 kB / 0.9619 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002564/0.8746, allocations: 1.603 MB / 0.9635 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002803/0.8774, allocations: 1.913 MB / 0.9653 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005741/0.8832, allocations: 3.831 MB / 0.9691 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.8832, allocations: 4 kB / 0.9691 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006826/0.8901, allocations: 4.212 MB / 0.9732 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.8901, allocations: 4 kB / 0.9732 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.8901, allocations: 4 kB / 0.9732 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.319e-05/0.8902, allocations: 16 kB / 0.9732 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/0.8929, allocations: 0.6792 MB / 0.9739 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.062e-05/0.893, allocations: 19.94 kB / 0.9739 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.8953, allocations: 258 kB / 0.9741 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002471/0.8955, allocations: 116 kB / 0.9743 GB, free: 5.988 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.001326/0.8969, allocations: 0.7235 MB / 0.975 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005928/0.8975, allocations: 254.4 kB / 0.9752 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007994/0.9055, allocations: 4.632 MB / 0.9797 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-05/0.9055, allocations: 40 kB / 0.9798 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.9055, allocations: 0 / 0.9798 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006208/0.9118, allocations: 3.958 MB / 0.9836 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.9255, allocations: 8.278 MB / 0.9917 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.9256, allocations: 3.938 kB / 0.9917 GB, free: 3.902 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002911/0.9285, allocations: 0.6593 MB / 0.9924 GB, free: 3.242 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/0.929, allocations: 142.4 kB / 0.9925 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002645/0.9293, allocations: 79.98 kB / 0.9926 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004306/0.9336, allocations: 5.04 MB / 0.9975 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9336, allocations: 3.938 kB / 0.9975 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.9448, allocations: 6.833 MB / 1.004 GB, free: 6.668 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/0.9465, allocations: 0.7719 MB / 1.005 GB, free: 5.875 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004266/0.947, allocations: 71.98 kB / 1.005 GB, free: 5.805 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/0.9489, allocations: 90.25 kB / 1.005 GB, free: 5.723 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/0.9493, allocations: 218.8 kB / 1.005 GB, free: 5.508 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/0.9496, allocations: 116 kB / 1.005 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001284/0.9509, allocations: 0.8606 MB / 1.006 GB, free: 4.531 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9509, allocations: 0 / 1.006 GB, free: 4.531 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002466/0.9533, allocations: 1.069 MB / 1.007 GB, free: 3.461 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.01179/0.9651, allocations: 7.639 MB / 1.015 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006978/0.9722, allocations: 4.059 MB / 1.019 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.9722, allocations: 3.938 kB / 1.019 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.004119/0.9763, allocations: 2.556 MB / 1.021 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005033/0.9814, allocations: 1.064 MB / 1.022 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03913/1.021, allocations: 23.11 MB / 1.045 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/1.022, allocations: 1.942 MB / 1.047 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003522/1.026, allocations: 1.212 MB / 1.048 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001839/1.028, allocations: 1.085 MB / 1.049 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of SimCode: time 1.192e-06/1.028, allocations: 3.938 kB / 1.049 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3966/1.424, allocations: 66.7 MB / 1.114 GB, free: 286.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/16.44, allocations: 6.531 kB / 1.114 GB, free: 286.6 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)