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.001079/0.001079, allocations: 102 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.001174/0.001174, allocations: 187.7 kB / 17.2 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.265/1.265, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.729/0.729, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 71.88 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2958, allocations: 77.92 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ClosedDoors): time 0.4995/0.7954, allocations: 218.5 MB / 0.7806 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02032/0.8157, allocations: 20.44 MB / 0.8006 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.8184, allocations: 59.53 kB / 0.8006 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.821, allocations: 1.247 MB / 0.8019 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008838/0.8298, allocations: 4.081 MB / 0.8059 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.8332, allocations: 1.528 MB / 0.8073 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006624/0.8398, allocations: 6.965 MB / 0.8141 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.8427, allocations: 2.366 MB / 0.8165 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.8462, allocations: 2.355 MB / 0.8188 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003564/0.8497, allocations: 2.451 MB / 0.8211 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005229/0.8503, allocations: 347.8 kB / 0.8215 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006186/0.8565, allocations: 3.462 MB / 0.8249 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.8579, allocations: 1.462 MB / 0.8263 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003365/0.8613, allocations: 1.859 MB / 0.8281 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009678/0.871, allocations: 5.728 MB / 0.8337 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.871, allocations: 0 / 0.8337 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8711, allocations: 0 / 0.8337 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.39e-05/0.8712, allocations: 0 / 0.8337 GB, free: 11.88 MB / 0.5919 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.008983/0.8801, allocations: 3.949 MB / 0.8376 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.8802, allocations: 8.5 kB / 0.8376 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004928/0.8807, allocations: 387 kB / 0.8379 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004675/0.8854, allocations: 0.8227 MB / 0.8387 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/0.8889, allocations: 1.883 MB / 0.8406 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.889, allocations: 201.4 kB / 0.8408 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004407/0.8895, allocations: 269.9 kB / 0.841 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005434/0.8949, allocations: 3.286 MB / 0.8442 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.447e-05/0.895, allocations: 0 / 0.8442 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002705/0.8953, allocations: 111.9 kB / 0.8443 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.8954, allocations: 125.4 kB / 0.8445 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007011/0.9024, allocations: 4.619 MB / 0.849 GB, free: 14.25 MB / 0.6075 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.01577/0.9182, allocations: 11 MB / 0.8597 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006143/0.9243, allocations: 4.864 MB / 0.8645 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003527/0.9279, allocations: 2.516 MB / 0.8669 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.929, allocations: 0.8608 MB / 0.8678 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.491e-05/0.9291, allocations: 85.69 kB / 0.8678 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=399): time 5.45e-06/0.9291, allocations: 0 / 0.8678 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=399): time 0.009629/0.9387, allocations: 6.028 MB / 0.8737 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.9388, allocations: 90.55 kB / 0.8738 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.9408, allocations: 1.231 MB / 0.875 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002782/0.9411, allocations: 93.64 kB / 0.8751 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/0.9417, allocations: 0.8096 MB / 0.8759 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/0.9429, allocations: 1.335 MB / 0.8772 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009383/0.9439, allocations: 0.543 MB / 0.8777 GB, free: 44 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.944, allocations: 309.1 kB / 0.878 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/0.9466, allocations: 1.603 MB / 0.8796 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00285/0.9495, allocations: 1.905 MB / 0.8815 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006173/0.9557, allocations: 3.831 MB / 0.8852 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/0.9557, allocations: 0 / 0.8852 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008178/0.9639, allocations: 4.193 MB / 0.8893 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.964, allocations: 8 kB / 0.8893 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.964, allocations: 6.625 kB / 0.8893 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/0.964, allocations: 20.34 kB / 0.8893 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/0.9671, allocations: 0.684 MB / 0.89 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-05/0.9672, allocations: 23.97 kB / 0.89 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/0.9699, allocations: 236 kB / 0.8902 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004107/0.9703, allocations: 116 kB / 0.8903 GB, free: 3.062 MB / 0.6387 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.00155/0.9719, allocations: 0.7256 MB / 0.8911 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000745/0.9726, allocations: 245.1 kB / 0.8913 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007817/0.9805, allocations: 4.627 MB / 0.8958 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.424e-05/0.9805, allocations: 40 kB / 0.8958 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/0.9805, allocations: 3.938 kB / 0.8959 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005945/0.9865, allocations: 3.963 MB / 0.8997 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.9993, allocations: 8.272 MB / 0.9078 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.9994, allocations: 0 / 0.9078 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002826/1.002, allocations: 0.6581 MB / 0.9084 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004627/1.003, allocations: 142.4 kB / 0.9086 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002454/1.003, allocations: 87.97 kB / 0.9087 GB, free: 292 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003714/1.007, allocations: 5.049 MB / 0.9136 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.007, allocations: 4.094 kB / 0.9136 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.017, allocations: 6.815 MB / 0.9203 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.018, allocations: 0.7666 MB / 0.921 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000499/1.019, allocations: 68 kB / 0.9211 GB, free: 3.121 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/1.021, allocations: 93.36 kB / 0.9212 GB, free: 3.035 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000424/1.021, allocations: 226.8 kB / 0.9214 GB, free: 2.812 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/1.022, allocations: 108 kB / 0.9215 GB, free: 2.707 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00128/1.023, allocations: 0.8606 MB / 0.9223 GB, free: 1.844 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.023, allocations: 3.938 kB / 0.9223 GB, free: 1.84 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002506/1.025, allocations: 1.069 MB / 0.9234 GB, free: 0.7695 MB / 0.67 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.01096/1.036, allocations: 7.617 MB / 0.9308 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02223/1.059, allocations: 11.48 MB / 0.942 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.059, allocations: 4.812 kB / 0.942 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003815/1.063, allocations: 2.55 MB / 0.9445 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005353/1.068, allocations: 1.074 MB / 0.9456 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0377/1.106, allocations: 24.95 MB / 0.9699 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/1.108, allocations: 1.942 MB / 0.9718 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003687/1.111, allocations: 1.216 MB / 0.973 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/1.113, allocations: 1.089 MB / 0.9741 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/1.113, allocations: 0 / 0.9741 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3199/1.433, allocations: 66.12 MB / 1.039 GB, free: 363.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.88, allocations: 18 kB / 1.039 GB, free: 363.1 MB / 0.7794 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)