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.001499/0.001499, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001828/0.001828, allocations: 188.5 kB / 16.13 MB, free: 6.66 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002216/0.002216, allocations: 286.6 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 89.61 kB / 0.5945 GB, free: 28.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1583, allocations: 86.98 MB / 0.6794 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.4593/0.6177, allocations: 164.6 MB / 0.8401 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.6308, allocations: 8.562 MB / 0.8485 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.6328, allocations: 31.91 kB / 0.8485 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.6345, allocations: 493.1 kB / 0.849 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004374/0.6389, allocations: 1.447 MB / 0.8504 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.6416, allocations: 0.8937 MB / 0.8513 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005521/0.6471, allocations: 5.39 MB / 0.8566 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.6491, allocations: 1.11 MB / 0.8576 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002773/0.6518, allocations: 1.287 MB / 0.8589 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.6543, allocations: 1.537 MB / 0.8604 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005148/0.6549, allocations: 99.97 kB / 0.8605 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003744/0.6586, allocations: 1.054 MB / 0.8615 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009413/0.6596, allocations: 0.5895 MB / 0.8621 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001918/0.6615, allocations: 0.9409 MB / 0.863 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003777/0.6653, allocations: 2.67 MB / 0.8656 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.6653, allocations: 6.344 kB / 0.8656 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6653, allocations: 0 / 0.8656 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.327e-05/0.6654, allocations: 0 / 0.8656 GB, free: 2.527 MB / 0.5762 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.005445/0.6709, allocations: 2.265 MB / 0.8678 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.6709, allocations: 10.53 kB / 0.8679 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007241/0.6716, allocations: 197.3 kB / 0.868 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.6738, allocations: 1.182 MB / 0.8692 GB, free: 32 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.674, allocations: 120.8 kB / 0.8693 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.6742, allocations: 146.2 kB / 0.8695 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00305/0.6772, allocations: 1.926 MB / 0.8713 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.6773, allocations: 4.219 kB / 0.8713 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.6774, allocations: 60.53 kB / 0.8714 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.6775, allocations: 37.28 kB / 0.8714 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003695/0.6812, allocations: 2.476 MB / 0.8738 GB, free: 13.62 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.008537/0.6897, allocations: 6.09 MB / 0.8798 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.6932, allocations: 2.815 MB / 0.8825 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.6951, allocations: 1.417 MB / 0.8839 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001536/0.6966, allocations: 1.729 MB / 0.8856 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.6967, allocations: 60.56 kB / 0.8857 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=237): time 3.917e-06/0.6967, allocations: 0 / 0.8857 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of matching and sorting (n=237): time 0.005386/0.7021, allocations: 3.438 MB / 0.889 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.7022, allocations: 77.41 kB / 0.8891 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000932/0.7031, allocations: 0.7588 MB / 0.8898 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.7032, allocations: 65.7 kB / 0.8899 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.7035, allocations: 488.7 kB / 0.8904 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005681/0.7041, allocations: 0.7877 MB / 0.8911 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/0.7046, allocations: 359.5 kB / 0.8915 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.7047, allocations: 305.1 kB / 0.8918 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.7061, allocations: 0.9019 MB / 0.8927 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.7078, allocations: 1.121 MB / 0.8938 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/0.7109, allocations: 2.227 MB / 0.8959 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.711, allocations: 4 kB / 0.8959 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003845/0.7148, allocations: 2.428 MB / 0.8983 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.7148, allocations: 8 kB / 0.8983 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.7149, allocations: 4 kB / 0.8983 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/0.7149, allocations: 16.41 kB / 0.8983 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.7165, allocations: 443.4 kB / 0.8988 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.837e-05/0.7165, allocations: 16.64 kB / 0.8988 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.7177, allocations: 202.3 kB / 0.899 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.7179, allocations: 78.12 kB / 0.899 GB, free: 4.949 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006911/0.7186, allocations: 437.9 kB / 0.8995 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.7188, allocations: 142.3 kB / 0.8996 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/0.7232, allocations: 2.732 MB / 0.9023 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.7233, allocations: 24 kB / 0.9023 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.7233, allocations: 0 / 0.9023 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003304/0.7266, allocations: 2.377 MB / 0.9046 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006193/0.7328, allocations: 4.292 MB / 0.9088 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.7328, allocations: 3.938 kB / 0.9088 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/0.7344, allocations: 403.5 kB / 0.9092 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00051/0.7349, allocations: 101.6 kB / 0.9093 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.735, allocations: 55.98 kB / 0.9093 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006873/0.7357, allocations: 1.124 MB / 0.9104 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7357, allocations: 0 / 0.9104 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005779/0.7415, allocations: 4.059 MB / 0.9144 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008579/0.7424, allocations: 478.6 kB / 0.9148 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.7427, allocations: 43.98 kB / 0.9149 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009407/0.7436, allocations: 108.9 kB / 0.915 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.7439, allocations: 137.8 kB / 0.9151 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.744, allocations: 71.97 kB / 0.9152 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000684/0.7447, allocations: 0.5342 MB / 0.9157 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7447, allocations: 0 / 0.9157 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001412/0.7461, allocations: 0.6437 MB / 0.9163 GB, free: 3.012 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 (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.0007652/0.7469, allocations: 377.8 kB / 0.9167 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003607/0.7505, allocations: 2.31 MB / 0.919 GB, free: 348 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7505, allocations: 256 / 0.919 GB, free: 348 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.7524, allocations: 1.288 MB / 0.9202 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.7549, allocations: 0.5553 MB / 0.9208 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007155/0.7621, allocations: 4.454 MB / 0.9251 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.7632, allocations: 1.343 MB / 0.9264 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002274/0.7655, allocations: 0.7306 MB / 0.9271 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/0.7661, allocations: 159.4 kB / 0.9273 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/0.7661, allocations: 0 / 0.9273 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of Templates: time 0.04846/0.8146, allocations: 26.51 MB / 0.9532 GB, free: 13.62 MB / 0.67 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)