Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_Buildings_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.001294/0.001294, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 200.6 kB / 16.64 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 69.11 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.211, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.6039/0.8149, allocations: 218.5 MB / 0.997 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02515/0.8401, allocations: 21.57 MB / 1.018 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002532/0.8427, allocations: 50.97 kB / 1.018 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002728/0.8454, allocations: 1.252 MB / 1.019 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009163/0.8546, allocations: 4.068 MB / 1.023 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.8581, allocations: 1.522 MB / 1.025 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007294/0.8654, allocations: 6.93 MB / 1.032 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002879/0.8683, allocations: 2.352 MB / 1.034 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003667/0.872, allocations: 2.368 MB / 1.036 GB, free: 1.223 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/0.8757, allocations: 2.443 MB / 1.039 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004231/0.8761, allocations: 342 kB / 1.039 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006591/0.8827, allocations: 3.466 MB / 1.042 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.8841, allocations: 1.453 MB / 1.044 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002115/0.8862, allocations: 1.863 MB / 1.046 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007409/0.8936, allocations: 5.761 MB / 1.051 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.8936, allocations: 0 / 1.051 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8936, allocations: 0 / 1.051 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.133e-05/0.8937, allocations: 0 / 1.051 GB, free: 5.266 MB / 0.7637 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.008239/0.9019, allocations: 3.933 MB / 1.055 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.902, allocations: 8.031 kB / 1.055 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004389/0.9024, allocations: 395.7 kB / 1.055 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004394/0.9068, allocations: 0.8197 MB / 1.056 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.91, allocations: 1.921 MB / 1.058 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.9101, allocations: 197.4 kB / 1.058 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/0.9105, allocations: 275.9 kB / 1.058 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004845/0.9153, allocations: 3.279 MB / 1.062 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.743e-05/0.9154, allocations: 0 / 1.062 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.9157, allocations: 112 kB / 1.062 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.9158, allocations: 126.6 kB / 1.062 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006506/0.9223, allocations: 4.612 MB / 1.066 GB, free: 5.418 MB / 0.7794 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.01362/0.9359, allocations: 10.9 MB / 1.077 GB, free: 9.836 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005497/0.9414, allocations: 4.866 MB / 1.082 GB, free: 4.941 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003138/0.9446, allocations: 2.52 MB / 1.084 GB, free: 2.414 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.9456, allocations: 0.8564 MB / 1.085 GB, free: 1.391 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/0.9457, allocations: 81.64 kB / 1.085 GB, free: 1.301 MB / 0.795 GB Notification: Performance of pre-optimization done (n=399): time 5.189e-06/0.9457, allocations: 0 / 1.085 GB, free: 1.301 MB / 0.795 GB Notification: Performance of matching and sorting (n=399): time 0.008701/0.9544, allocations: 6.023 MB / 1.091 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.9545, allocations: 90.55 kB / 1.091 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.956, allocations: 1.215 MB / 1.092 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.9562, allocations: 89.7 kB / 1.092 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/0.9567, allocations: 0.8095 MB / 1.093 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009565/0.9577, allocations: 1.328 MB / 1.095 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007575/0.9584, allocations: 0.5547 MB / 1.095 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.9585, allocations: 301.1 kB / 1.095 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/0.9607, allocations: 1.603 MB / 1.097 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.9632, allocations: 1.927 MB / 1.099 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005081/0.9683, allocations: 3.838 MB / 1.103 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.9683, allocations: 0 / 1.103 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005949/0.9743, allocations: 4.175 MB / 1.107 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.9743, allocations: 8.391 kB / 1.107 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.9743, allocations: 8 kB / 1.107 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.9744, allocations: 19.94 kB / 1.107 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.977, allocations: 0.6826 MB / 1.107 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.646e-05/0.9771, allocations: 19.94 kB / 1.107 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.9791, allocations: 250.9 kB / 1.108 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/0.9793, allocations: 112 kB / 1.108 GB, free: 9.973 MB / 0.8262 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.001166/0.9805, allocations: 0.7351 MB / 1.108 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000378/0.9809, allocations: 233.2 kB / 1.109 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006704/0.9876, allocations: 4.624 MB / 1.113 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/0.9876, allocations: 43.94 kB / 1.113 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.9877, allocations: 7.938 kB / 1.113 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005237/0.9929, allocations: 3.946 MB / 1.117 GB, free: 280 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/1.004, allocations: 8.254 MB / 1.125 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.004, allocations: 4 kB / 1.125 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002686/1.007, allocations: 0.6593 MB / 1.126 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004241/1.007, allocations: 138.5 kB / 1.126 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/1.007, allocations: 83.97 kB / 1.126 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003689/1.011, allocations: 5.082 MB / 1.131 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.011, allocations: 3.984 kB / 1.131 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009355/1.02, allocations: 7.026 MB / 1.138 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/1.022, allocations: 0.7589 MB / 1.139 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003154/1.022, allocations: 68.14 kB / 1.139 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/1.024, allocations: 91.89 kB / 1.139 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003811/1.024, allocations: 234.8 kB / 1.139 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.024, allocations: 112 kB / 1.139 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00109/1.026, allocations: 0.8484 MB / 1.14 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.026, allocations: 0 / 1.14 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002099/1.028, allocations: 1.069 MB / 1.141 GB, free: 7.254 MB / 0.8575 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.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],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.009792/1.037, allocations: 7.812 MB / 1.149 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005609/1.043, allocations: 4.059 MB / 1.152 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.043, allocations: 4 kB / 1.152 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003203/1.046, allocations: 2.548 MB / 1.155 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00424/1.051, allocations: 1.074 MB / 1.156 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/1.08, allocations: 22.9 MB / 1.178 GB, free: 480 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/1.081, allocations: 1.931 MB / 1.18 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002989/1.084, allocations: 1.215 MB / 1.181 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/1.086, allocations: 1.081 MB / 1.183 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of SimCode: time 1.322e-06/1.086, allocations: 0 / 1.183 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/1.188, allocations: 66.13 MB / 1.247 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.72, allocations: 14.73 kB / 1.247 GB, free: 10.73 MB / 0.9669 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)