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.001357/0.001357, allocations: 104.1 kB / 16.27 MB, free: 5.902 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.001371/0.001371, allocations: 187.5 kB / 17.19 MB, free: 5.543 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002288/0.002288, allocations: 283.6 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9395/0.9395, allocations: 169.3 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 98.38 kB / 0.5959 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1709, allocations: 86.97 MB / 0.6808 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.4903/0.6613, allocations: 166.9 MB / 0.8438 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.6742, allocations: 8.494 MB / 0.8521 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.6761, allocations: 39.81 kB / 0.8521 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.678, allocations: 0.5628 MB / 0.8527 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004861/0.6829, allocations: 1.542 MB / 0.8542 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.6857, allocations: 0.9919 MB / 0.8552 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004974/0.6907, allocations: 4.101 MB / 0.8592 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.693, allocations: 1.308 MB / 0.8604 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004002/0.697, allocations: 1.502 MB / 0.8619 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/0.6999, allocations: 1.507 MB / 0.8634 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006547/0.7005, allocations: 188 kB / 0.8636 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.7034, allocations: 1.104 MB / 0.8646 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008891/0.7043, allocations: 0.6779 MB / 0.8653 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002085/0.7064, allocations: 1.023 MB / 0.8663 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004508/0.711, allocations: 2.742 MB / 0.869 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.711, allocations: 4 kB / 0.869 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.563e-06/0.711, allocations: 0 / 0.869 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001041/0.7111, allocations: 0 / 0.869 GB, free: 14.34 MB / 0.6387 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.005861/0.717, allocations: 2.259 MB / 0.8712 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.717, allocations: 8.031 kB / 0.8712 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007735/0.7178, allocations: 198.7 kB / 0.8714 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.7202, allocations: 1.142 MB / 0.8725 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.691e-05/0.7203, allocations: 115 kB / 0.8726 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/0.7206, allocations: 152 kB / 0.8728 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003284/0.7239, allocations: 1.923 MB / 0.8746 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.724, allocations: 0 / 0.8746 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.7241, allocations: 64 kB / 0.8747 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.7242, allocations: 40 kB / 0.8747 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003908/0.7281, allocations: 2.478 MB / 0.8772 GB, free: 5.828 MB / 0.6387 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.008906/0.737, allocations: 6.139 MB / 0.8832 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/0.7407, allocations: 2.803 MB / 0.8859 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/0.7427, allocations: 1.413 MB / 0.8873 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/0.7444, allocations: 1.738 MB / 0.889 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.7444, allocations: 60.5 kB / 0.889 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=237): time 6.492e-06/0.7444, allocations: 0 / 0.889 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of matching and sorting (n=237): time 0.005581/0.75, allocations: 3.438 MB / 0.8924 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.7501, allocations: 73.41 kB / 0.8925 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.7513, allocations: 0.7782 MB / 0.8932 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.7514, allocations: 65.7 kB / 0.8933 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/0.7518, allocations: 498.1 kB / 0.8938 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000631/0.7524, allocations: 0.7892 MB / 0.8945 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004975/0.7529, allocations: 351.6 kB / 0.8949 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.753, allocations: 301.1 kB / 0.8951 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.7545, allocations: 0.9019 MB / 0.896 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.7561, allocations: 1.121 MB / 0.8971 GB, free: 464 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/0.7596, allocations: 2.231 MB / 0.8993 GB, free: 14.18 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.7596, allocations: 4 kB / 0.8993 GB, free: 14.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004018/0.7636, allocations: 2.425 MB / 0.9017 GB, free: 11.74 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.7637, allocations: 14.03 kB / 0.9017 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.7637, allocations: 4 kB / 0.9017 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/0.7637, allocations: 15.94 kB / 0.9017 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.7654, allocations: 443.4 kB / 0.9021 GB, free: 11.28 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.639e-05/0.7654, allocations: 15.38 kB / 0.9021 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.7665, allocations: 158.2 kB / 0.9023 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.7667, allocations: 71.98 kB / 0.9024 GB, free: 11.04 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007254/0.7674, allocations: 445.2 kB / 0.9028 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/0.7678, allocations: 138.3 kB / 0.9029 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/0.7724, allocations: 2.731 MB / 0.9056 GB, free: 7.703 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.7724, allocations: 28 kB / 0.9056 GB, free: 7.676 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.7724, allocations: 0 / 0.9056 GB, free: 7.676 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003351/0.7758, allocations: 2.373 MB / 0.9079 GB, free: 5.25 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006418/0.7822, allocations: 4.306 MB / 0.9121 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.7823, allocations: 3.938 kB / 0.9121 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.7839, allocations: 407.4 kB / 0.9125 GB, free: 480 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005517/0.7845, allocations: 97.69 kB / 0.9126 GB, free: 376 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/0.7846, allocations: 55.98 kB / 0.9127 GB, free: 320 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007014/0.7853, allocations: 1.124 MB / 0.9138 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.7854, allocations: 4 kB / 0.9138 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006068/0.7914, allocations: 4.065 MB / 0.9177 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009123/0.7924, allocations: 478.6 kB / 0.9182 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/0.7927, allocations: 36 kB / 0.9182 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.7937, allocations: 55.98 kB / 0.9183 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.794, allocations: 137.8 kB / 0.9184 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.7942, allocations: 67.98 kB / 0.9185 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007657/0.7949, allocations: 0.5498 MB / 0.919 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7949, allocations: 3.938 kB / 0.919 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001558/0.7965, allocations: 0.6436 MB / 0.9197 GB, free: 9.066 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007732/0.7973, allocations: 390.7 kB / 0.92 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009257/0.8066, allocations: 4.856 MB / 0.9248 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.8066, allocations: 256 / 0.9248 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002137/0.8087, allocations: 1.288 MB / 0.926 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/0.8117, allocations: 0.5812 MB / 0.9266 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00617/0.8179, allocations: 3.859 MB / 0.9304 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009169/0.8188, allocations: 1.335 MB / 0.9317 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007681/0.8196, allocations: 187.4 kB / 0.9318 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of SimCode: time 7.51e-07/0.8196, allocations: 0 / 0.9318 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of Templates: time 0.3282/1.148, allocations: 31.51 MB / 0.9626 GB, free: 242.7 MB / 0.7169 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)