Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008193/0.0008193, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0009181/0.0009183, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001725/0.001725, allocations: 274.1 kB / 291.4 MB, free: 1.836 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004408/0.0004409, allocations: 13 kB / 0.598 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1895, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.5581/0.7476, allocations: 151.6 MB / 0.8326 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01189/0.7596, allocations: 7.964 MB / 0.8403 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.7614, allocations: 31.19 kB / 0.8404 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.7629, allocations: 431.3 kB / 0.8408 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003902/0.7668, allocations: 1.293 MB / 0.842 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.7693, allocations: 0.7347 MB / 0.8428 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00551/0.7748, allocations: 4.585 MB / 0.8472 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.7766, allocations: 0.9888 MB / 0.8482 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.7792, allocations: 1.241 MB / 0.8494 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/0.7814, allocations: 1.461 MB / 0.8508 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0002286/0.7817, allocations: 87.72 kB / 0.8509 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.7839, allocations: 0.8183 MB / 0.8517 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0006187/0.7846, allocations: 0.562 MB / 0.8523 GB, free: 14.38 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0006452/0.7852, allocations: 370.7 kB / 0.8526 GB, free: 14.2 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.7874, allocations: 1.967 MB / 0.8546 GB, free: 12.9 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7875, allocations: 2.844 kB / 0.8546 GB, free: 12.9 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7875, allocations: 0 / 0.8546 GB, free: 12.9 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 3.431e-05/0.7875, allocations: 0 / 0.8546 GB, free: 12.9 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.003968/0.7915, allocations: 2.029 MB / 0.8565 GB, free: 11.53 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.7915, allocations: 10.44 kB / 0.8565 GB, free: 11.53 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004972/0.792, allocations: 200.5 kB / 0.8567 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.7941, allocations: 1.139 MB / 0.8579 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.981e-05/0.7942, allocations: 111 kB / 0.858 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.7944, allocations: 154.6 kB / 0.8581 GB, free: 10.46 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003167/0.7976, allocations: 1.917 MB / 0.86 GB, free: 9.344 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.7976, allocations: 7.125 kB / 0.86 GB, free: 9.34 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.7978, allocations: 61.94 kB / 0.86 GB, free: 9.293 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.7978, allocations: 35.56 kB / 0.8601 GB, free: 9.293 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003849/0.8017, allocations: 2.483 MB / 0.8625 GB, free: 8.137 MB / 0.5763 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.00914/0.8108, allocations: 6.107 MB / 0.8685 GB, free: 2.773 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00378/0.8146, allocations: 2.804 MB / 0.8712 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/0.8168, allocations: 1.417 MB / 0.8726 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.8185, allocations: 1.738 MB / 0.8743 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.8185, allocations: 52.56 kB / 0.8743 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=237): time 4.318e-06/0.8185, allocations: 7.938 kB / 0.8743 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=237): time 0.005572/0.8241, allocations: 3.442 MB / 0.8777 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.8242, allocations: 81.36 kB / 0.8778 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.8253, allocations: 0.7587 MB / 0.8785 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.8254, allocations: 61.7 kB / 0.8786 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.8258, allocations: 494.2 kB / 0.8791 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007045/0.8265, allocations: 0.7892 MB / 0.8798 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.8266, allocations: 40 kB / 0.8799 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.8268, allocations: 382 kB / 0.8802 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.8282, allocations: 0.9019 MB / 0.8811 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.8298, allocations: 1.129 MB / 0.8822 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.8314, allocations: 1.076 MB / 0.8833 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.8315, allocations: 0 / 0.8833 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003735/0.8352, allocations: 2.433 MB / 0.8856 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.8352, allocations: 8 kB / 0.8856 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.8353, allocations: 4 kB / 0.8856 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.8353, allocations: 12 kB / 0.8857 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.8369, allocations: 439.4 kB / 0.8861 GB, free: 192 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/0.8369, allocations: 20.09 kB / 0.8861 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.8381, allocations: 206.8 kB / 0.8863 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.8382, allocations: 75.94 kB / 0.8864 GB, free: 15.89 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007018/0.839, allocations: 441.9 kB / 0.8868 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.8392, allocations: 146.3 kB / 0.8869 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004581/0.8438, allocations: 2.73 MB / 0.8896 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.8438, allocations: 24 kB / 0.8896 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.8438, allocations: 4.453 kB / 0.8896 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003662/0.8475, allocations: 2.381 MB / 0.8919 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006692/0.8542, allocations: 4.298 MB / 0.8961 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.8542, allocations: 3.938 kB / 0.8961 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/0.8558, allocations: 409.6 kB / 0.8965 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005181/0.8563, allocations: 109.5 kB / 0.8966 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.8564, allocations: 47.98 kB / 0.8967 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007518/0.8572, allocations: 1.12 MB / 0.8978 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8572, allocations: 0 / 0.8978 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005941/0.8632, allocations: 4.062 MB / 0.9017 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009716/0.8642, allocations: 490.5 kB / 0.9022 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.8644, allocations: 40 kB / 0.9023 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008992/0.8653, allocations: 107.9 kB / 0.9024 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.8655, allocations: 137.8 kB / 0.9025 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.8657, allocations: 71.97 kB / 0.9026 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007357/0.8664, allocations: 0.5264 MB / 0.9031 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8664, allocations: 4 kB / 0.9031 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001524/0.8679, allocations: 0.6397 MB / 0.9037 GB, free: 13.88 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006197/0.8686, allocations: 374.6 kB / 0.9041 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003549/0.8721, allocations: 2.313 MB / 0.9063 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8721, allocations: 0 / 0.9063 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.8741, allocations: 1.276 MB / 0.9076 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/0.8765, allocations: 0.5575 MB / 0.9081 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006307/0.8828, allocations: 4.514 MB / 0.9125 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009094/0.8838, allocations: 1.343 MB / 0.9138 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002237/0.886, allocations: 0.7267 MB / 0.9145 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.8865, allocations: 167.3 kB / 0.9147 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.8865, allocations: 0 / 0.9147 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of Templates: time 0.04238/0.9289, allocations: 25.43 MB / 0.9395 GB, free: 9.441 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)