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.001058/0.001058, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001073/0.001073, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 282.4 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9668/0.9668, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 98.34 kB / 0.5947 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1743, allocations: 86.98 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.538/0.7124, allocations: 182.1 MB / 0.8574 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008379/0.7208, allocations: 5.513 MB / 0.8628 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.722, allocations: 15.22 kB / 0.8628 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.7236, allocations: 0.5299 MB / 0.8633 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.728, allocations: 1.723 MB / 0.865 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.7304, allocations: 0.6173 MB / 0.8656 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002812/0.7333, allocations: 2.166 MB / 0.8677 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009315/0.7342, allocations: 0.6891 MB / 0.8684 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.7358, allocations: 0.95 MB / 0.8693 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.7369, allocations: 0.8793 MB / 0.8702 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.737, allocations: 88.56 kB / 0.8703 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003509/0.7406, allocations: 2.058 MB / 0.8723 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00047/0.741, allocations: 472.8 kB / 0.8727 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000609/0.7417, allocations: 0.5947 MB / 0.8733 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003301/0.745, allocations: 2.245 MB / 0.8755 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.745, allocations: 3.219 kB / 0.8755 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.764e-06/0.745, allocations: 0 / 0.8755 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.745, allocations: 0 / 0.8755 GB, free: 10.91 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.003829/0.7489, allocations: 1.684 MB / 0.8772 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.7489, allocations: 10.19 kB / 0.8772 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006014/0.7495, allocations: 156.8 kB / 0.8773 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008856/0.7504, allocations: 0.624 MB / 0.8779 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.7505, allocations: 61.25 kB / 0.878 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.7506, allocations: 93.61 kB / 0.8781 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.7524, allocations: 1.198 MB / 0.8793 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.7524, allocations: 0 / 0.8793 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-05/0.7525, allocations: 31.28 kB / 0.8793 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-05/0.7526, allocations: 51.98 kB / 0.8793 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/0.7547, allocations: 1.502 MB / 0.8808 GB, free: 7.68 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.004687/0.7594, allocations: 3.56 MB / 0.8843 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.7613, allocations: 1.448 MB / 0.8857 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008522/0.7622, allocations: 0.6926 MB / 0.8864 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009199/0.7631, allocations: 0.9582 MB / 0.8873 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.7641, allocations: 0.7046 MB / 0.888 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=123): time 3.276e-06/0.7641, allocations: 0 / 0.888 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=123): time 0.003028/0.7672, allocations: 1.844 MB / 0.8898 GB, free: 124 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.7672, allocations: 94.11 kB / 0.8899 GB, free: 12 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.7684, allocations: 0.8446 MB / 0.8907 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.142e-05/0.7685, allocations: 45.7 kB / 0.8907 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.7688, allocations: 357.1 kB / 0.8911 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.7692, allocations: 410 kB / 0.8915 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003593/0.7696, allocations: 206.9 kB / 0.8917 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.7698, allocations: 349.9 kB / 0.892 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008279/0.7706, allocations: 0.5061 MB / 0.8925 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009023/0.7715, allocations: 0.651 MB / 0.8931 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.7733, allocations: 1.278 MB / 0.8944 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7733, allocations: 0 / 0.8944 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002264/0.7756, allocations: 1.489 MB / 0.8958 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.7756, allocations: 47.41 kB / 0.8959 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.7757, allocations: 3.938 kB / 0.8959 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.7757, allocations: 8 kB / 0.8959 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009254/0.7766, allocations: 224.2 kB / 0.8961 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.7767, allocations: 8 kB / 0.8961 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008764/0.7775, allocations: 127.1 kB / 0.8962 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.7777, allocations: 47.98 kB / 0.8963 GB, free: 9.32 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.0005048/0.7782, allocations: 372.3 kB / 0.8966 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.7784, allocations: 108.1 kB / 0.8967 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/0.7809, allocations: 1.585 MB / 0.8983 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.781, allocations: 12 kB / 0.8983 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.781, allocations: 0 / 0.8983 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.781, allocations: 7.969 kB / 0.8983 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004984/0.786, allocations: 3.297 MB / 0.9015 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.786, allocations: 4 kB / 0.9015 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.7869, allocations: 203.7 kB / 0.9017 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.025e-05/0.7869, allocations: 15.92 kB / 0.9017 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.672e-05/0.787, allocations: 32 kB / 0.9018 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.658e-05/0.787, allocations: 18.94 kB / 0.9018 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.7871, allocations: 15.94 kB / 0.9018 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.7903, allocations: 2.486 MB / 0.9042 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005961/0.7909, allocations: 331.4 kB / 0.9046 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.7912, allocations: 32 kB / 0.9046 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000767/0.792, allocations: 43.92 kB / 0.9046 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.7922, allocations: 100.7 kB / 0.9047 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.899e-05/0.7923, allocations: 44.03 kB / 0.9048 GB, free: 340 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007951/0.7931, allocations: 0.5927 MB / 0.9053 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7931, allocations: 0 / 0.9053 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001074/0.7942, allocations: 367.8 kB / 0.9057 GB, free: 15.39 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.0006802/0.7948, allocations: 308 kB / 0.906 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003005/0.7979, allocations: 1.822 MB / 0.9078 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.7979, allocations: 4 kB / 0.9078 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.7989, allocations: 0.7402 MB / 0.9085 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.8013, allocations: 443.2 kB / 0.9089 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/0.8054, allocations: 2.69 MB / 0.9115 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008127/0.8063, allocations: 1.106 MB / 0.9126 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001469/0.8078, allocations: 432.1 kB / 0.913 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/0.8081, allocations: 91.42 kB / 0.9131 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.8081, allocations: 0 / 0.9131 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of Templates: time 0.03167/0.8398, allocations: 18.74 MB / 0.9314 GB, free: 5.133 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)