Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.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.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 108 kB / 15.6 MB, free: 132 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.001554/0.001554, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002246/0.002246, allocations: 283 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9476/0.9476, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001664, allocations: 98.81 kB / 0.5952 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1763, allocations: 86.98 MB / 0.6802 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.6356/0.812, allocations: 184.5 MB / 0.8603 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008498/0.8205, allocations: 5.539 MB / 0.8657 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007654/0.8213, allocations: 16.16 kB / 0.8657 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.8228, allocations: 0.5826 MB / 0.8663 GB, free: 16 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004426/0.8273, allocations: 1.83 MB / 0.8681 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.8291, allocations: 0.6799 MB / 0.8688 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002168/0.8312, allocations: 2.158 MB / 0.8709 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008587/0.8321, allocations: 0.7118 MB / 0.8716 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.8335, allocations: 0.9267 MB / 0.8725 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009428/0.8344, allocations: 0.8311 MB / 0.8733 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.8345, allocations: 88.06 kB / 0.8734 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003939/0.8385, allocations: 1.997 MB / 0.8753 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004817/0.839, allocations: 472.8 kB / 0.8758 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007062/0.8397, allocations: 0.5835 MB / 0.8763 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.8431, allocations: 2.135 MB / 0.8784 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8431, allocations: 0 / 0.8784 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8431, allocations: 6.844 kB / 0.8784 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.8431, allocations: 0 / 0.8784 GB, free: 8.5 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004086/0.8472, allocations: 1.683 MB / 0.8801 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.8473, allocations: 9.844 kB / 0.8801 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006106/0.8479, allocations: 167.1 kB / 0.8802 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.8489, allocations: 0.6139 MB / 0.8808 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.849, allocations: 73.05 kB / 0.8809 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.8491, allocations: 81.72 kB / 0.881 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.8507, allocations: 1.194 MB / 0.8822 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.8508, allocations: 0 / 0.8822 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.183e-05/0.8509, allocations: 39.81 kB / 0.8822 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.987e-05/0.8509, allocations: 48.02 kB / 0.8822 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.8531, allocations: 1.508 MB / 0.8837 GB, free: 5.266 MB / 0.5919 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.004636/0.8578, allocations: 3.568 MB / 0.8872 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.8596, allocations: 1.437 MB / 0.8886 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008687/0.8605, allocations: 0.6981 MB / 0.8893 GB, free: 1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009211/0.8615, allocations: 0.9659 MB / 0.8902 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009664/0.8624, allocations: 0.6968 MB / 0.8909 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=123): time 3.406e-06/0.8624, allocations: 0 / 0.8909 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=123): time 0.002789/0.8652, allocations: 1.844 MB / 0.8927 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.8653, allocations: 98.11 kB / 0.8928 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009236/0.8662, allocations: 0.8368 MB / 0.8936 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/0.8663, allocations: 45.7 kB / 0.8937 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.8666, allocations: 361.1 kB / 0.894 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.8669, allocations: 414 kB / 0.8944 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.8672, allocations: 202.9 kB / 0.8946 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8674, allocations: 353.9 kB / 0.8949 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007298/0.8681, allocations: 0.5061 MB / 0.8954 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009556/0.8691, allocations: 0.6549 MB / 0.8961 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.8709, allocations: 1.282 MB / 0.8973 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.8709, allocations: 0 / 0.8973 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002324/0.8733, allocations: 1.493 MB / 0.8988 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.8733, allocations: 33.7 kB / 0.8988 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.8733, allocations: 7.938 kB / 0.8988 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.8734, allocations: 4 kB / 0.8988 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/0.8743, allocations: 226.1 kB / 0.899 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.8743, allocations: 11.98 kB / 0.899 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007745/0.8751, allocations: 107.1 kB / 0.8992 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.573e-05/0.8752, allocations: 47.98 kB / 0.8992 GB, free: 6.473 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 (bouTem.nextEventScaled,bouTem.nextEvent,$PRE.bouTem.nextEvent,bouTem.last,bouTem.b,bouTem.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 1 * 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.0005165/0.8757, allocations: 372.3 kB / 0.8996 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.8759, allocations: 102.8 kB / 0.8997 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/0.8783, allocations: 1.595 MB / 0.9012 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.8783, allocations: 12 kB / 0.9012 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.8784, allocations: 0 / 0.9012 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.8784, allocations: 3.984 kB / 0.9012 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004783/0.8832, allocations: 3.294 MB / 0.9044 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.8832, allocations: 8.125 kB / 0.9044 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007878/0.884, allocations: 207.7 kB / 0.9046 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.884, allocations: 8 kB / 0.9047 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.001e-05/0.8841, allocations: 35.94 kB / 0.9047 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.288e-05/0.8841, allocations: 15.98 kB / 0.9047 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/0.8841, allocations: 15.88 kB / 0.9047 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.8873, allocations: 2.486 MB / 0.9071 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005127/0.8878, allocations: 327.4 kB / 0.9075 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.888, allocations: 38.05 kB / 0.9075 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.8886, allocations: 27.98 kB / 0.9075 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.8887, allocations: 96.72 kB / 0.9076 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.45e-05/0.8888, allocations: 43.98 kB / 0.9077 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007095/0.8895, allocations: 0.5966 MB / 0.9082 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8896, allocations: 4 kB / 0.9082 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000909/0.8905, allocations: 363.8 kB / 0.9086 GB, free: 12.55 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * 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.0005442/0.891, allocations: 293 kB / 0.9089 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.8938, allocations: 1.838 MB / 0.9107 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.8938, allocations: 0 / 0.9107 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008773/0.8947, allocations: 0.7285 MB / 0.9114 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.8966, allocations: 448.8 kB / 0.9118 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.8999, allocations: 2.331 MB / 0.9141 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/0.9005, allocations: 1.106 MB / 0.9152 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001155/0.9017, allocations: 432.1 kB / 0.9156 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.902, allocations: 91.42 kB / 0.9157 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of SimCode: time 2.004e-06/0.902, allocations: 0 / 0.9157 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of Templates: time 0.03044/0.9324, allocations: 18.83 MB / 0.934 GB, free: 2.578 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)