Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.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.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001132, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001327/0.001328, allocations: 195.8 kB / 16.14 MB, free: 6.707 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002063, allocations: 291 kB / 290.2 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9597/0.9597, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 100.7 kB / 0.5945 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2032, allocations: 86.99 MB / 0.6794 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed): time 0.6162/0.8194, allocations: 196.4 MB / 0.8712 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.8308, allocations: 9.507 MB / 0.8805 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.832, allocations: 15.66 kB / 0.8805 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.8336, allocations: 0.5212 MB / 0.881 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004855/0.8385, allocations: 1.907 MB / 0.8829 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.8404, allocations: 0.6561 MB / 0.8835 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003005/0.8434, allocations: 3.181 MB / 0.8867 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009168/0.8443, allocations: 0.6447 MB / 0.8873 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002478/0.8468, allocations: 1.256 MB / 0.8885 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.8479, allocations: 0.7695 MB / 0.8893 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.848, allocations: 47.91 kB / 0.8893 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.8519, allocations: 2.234 MB / 0.8915 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.8523, allocations: 327.8 kB / 0.8918 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005875/0.8529, allocations: 493.8 kB / 0.8923 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.8562, allocations: 1.934 MB / 0.8942 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8562, allocations: 0 / 0.8942 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8563, allocations: 0 / 0.8942 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.8563, allocations: 0 / 0.8942 GB, free: 11.45 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003561/0.8598, allocations: 1.438 MB / 0.8956 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.8599, allocations: 10.22 kB / 0.8956 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006721/0.8606, allocations: 150.6 kB / 0.8957 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008404/0.8614, allocations: 0.5631 MB / 0.8963 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.8615, allocations: 53.98 kB / 0.8963 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-05/0.8616, allocations: 68 kB / 0.8964 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.8629, allocations: 0.8626 MB / 0.8972 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.8629, allocations: 1.625 kB / 0.8972 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.863, allocations: 35.97 kB / 0.8973 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.825e-05/0.8631, allocations: 49.97 kB / 0.8973 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.8643, allocations: 0.769 MB / 0.8981 GB, free: 7.973 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.00514/0.8695, allocations: 4.518 MB / 0.9025 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.8703, allocations: 416.5 kB / 0.9029 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.8706, allocations: 197.4 kB / 0.9031 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006893/0.8713, allocations: 0.7561 MB / 0.9038 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.8714, allocations: 42.83 kB / 0.9038 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.414e-06/0.8714, allocations: 0 / 0.9038 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.001364/0.8727, allocations: 0.5986 MB / 0.9044 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.8728, allocations: 59.34 kB / 0.9045 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.8739, allocations: 0.868 MB / 0.9053 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.8739, allocations: 37.64 kB / 0.9054 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.8743, allocations: 387.7 kB / 0.9057 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.8744, allocations: 141.9 kB / 0.9059 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.8746, allocations: 98.16 kB / 0.906 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.8747, allocations: 326 kB / 0.9063 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.8751, allocations: 181 kB / 0.9064 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.8755, allocations: 281.6 kB / 0.9067 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/0.8763, allocations: 443.8 kB / 0.9071 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8763, allocations: 0 / 0.9071 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009852/0.8773, allocations: 0.5859 MB / 0.9077 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.8773, allocations: 7.984 kB / 0.9077 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.8773, allocations: 4 kB / 0.9077 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.8773, allocations: 4.875 kB / 0.9077 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.8778, allocations: 103.8 kB / 0.9078 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.8779, allocations: 8.562 kB / 0.9078 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006764/0.8786, allocations: 103.2 kB / 0.9079 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.8786, allocations: 23.98 kB / 0.908 GB, free: 13.01 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 57 * 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.0003161/0.8789, allocations: 242.3 kB / 0.9082 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.8791, allocations: 82.97 kB / 0.9083 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.8801, allocations: 0.5515 MB / 0.9088 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.8801, allocations: 4.062 kB / 0.9088 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.8801, allocations: 7.938 kB / 0.9088 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.8801, allocations: 8 kB / 0.9088 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.8834, allocations: 2.107 MB / 0.9109 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.8835, allocations: 8 kB / 0.9109 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.8839, allocations: 99.83 kB / 0.911 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.8839, allocations: 8 kB / 0.911 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.8839, allocations: 16 kB / 0.911 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.884, allocations: 14.12 kB / 0.911 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.884, allocations: 11.94 kB / 0.911 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.8853, allocations: 0.9756 MB / 0.912 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.8856, allocations: 223.9 kB / 0.9122 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.8858, allocations: 24 kB / 0.9122 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005657/0.8864, allocations: 43.91 kB / 0.9123 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/0.8865, allocations: 51.77 kB / 0.9123 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.8865, allocations: 20 kB / 0.9123 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007618/0.8873, allocations: 0.6278 MB / 0.9129 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.8873, allocations: 0 / 0.9129 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007496/0.888, allocations: 247.5 kB / 0.9132 GB, free: 7.348 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * 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 (48): * Single equations (assignments): 48 * 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 Backend phase and start with SimCode phase: time 0.0005044/0.8885, allocations: 238.8 kB / 0.9134 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008702/0.8894, allocations: 450.4 kB / 0.9138 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8894, allocations: 448 / 0.9138 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.8898, allocations: 235.5 kB / 0.9141 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.8921, allocations: 490.1 kB / 0.9145 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.8945, allocations: 1.833 MB / 0.9163 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.8951, allocations: 1.009 MB / 0.9173 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007595/0.8958, allocations: 187.1 kB / 0.9175 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.896, allocations: 67.36 kB / 0.9175 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of SimCode: time 6.11e-07/0.896, allocations: 0 / 0.9175 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of Templates: time 0.02717/0.9232, allocations: 16.41 MB / 0.9336 GB, free: 2.551 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)