Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") translateModel(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001038/0.001038, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002857/0.002857, allocations: 275 kB / 291.4 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005033, allocations: 18.95 kB / 0.598 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1912, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.5573/0.7485, allocations: 199 MB / 0.8788 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0265/0.7751, allocations: 19.09 MB / 0.8975 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/0.7777, allocations: 51.69 kB / 0.8975 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.7804, allocations: 0.8154 MB / 0.8983 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008786/0.7892, allocations: 3.031 MB / 0.9013 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.7928, allocations: 1.066 MB / 0.9023 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009435/0.8022, allocations: 8.034 MB / 0.9101 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003109/0.8053, allocations: 1.724 MB / 0.9118 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004413/0.8098, allocations: 2.012 MB / 0.9138 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00497/0.8148, allocations: 2.4 MB / 0.9161 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007392/0.8155, allocations: 160 kB / 0.9163 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005911/0.8215, allocations: 1.731 MB / 0.918 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002095/0.8236, allocations: 1.255 MB / 0.9192 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.8252, allocations: 0.6408 MB / 0.9198 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006395/0.8316, allocations: 3.959 MB / 0.9237 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8316, allocations: 0 / 0.9237 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8317, allocations: 0 / 0.9237 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001343/0.8318, allocations: 0 / 0.9237 GB, free: 11.2 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.008506/0.8403, allocations: 3.49 MB / 0.9271 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.8404, allocations: 8.031 kB / 0.9271 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004848/0.8452, allocations: 0.8236 MB / 0.9279 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/0.849, allocations: 1.833 MB / 0.9297 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.8491, allocations: 205.3 kB / 0.9299 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004838/0.8496, allocations: 275.8 kB / 0.9302 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005809/0.8555, allocations: 3.259 MB / 0.9333 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.453e-05/0.8555, allocations: 7.984 kB / 0.9334 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.8558, allocations: 108 kB / 0.9335 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.8559, allocations: 129.4 kB / 0.9336 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007591/0.8635, allocations: 4.608 MB / 0.9381 GB, free: 12.29 MB / 0.6544 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.01594/0.8795, allocations: 10.88 MB / 0.9487 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006285/0.8858, allocations: 4.84 MB / 0.9534 GB, free: 11.85 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003834/0.8897, allocations: 2.508 MB / 0.9559 GB, free: 9.332 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.8909, allocations: 0.8644 MB / 0.9567 GB, free: 8.301 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.777e-05/0.891, allocations: 89.59 kB / 0.9568 GB, free: 8.203 MB / 0.67 GB Notification: Performance of pre-optimization done (n=399): time 5.861e-06/0.891, allocations: 0 / 0.9568 GB, free: 8.203 MB / 0.67 GB Notification: Performance of matching and sorting (n=399): time 0.01007/0.901, allocations: 6.011 MB / 0.9627 GB, free: 2.105 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.9011, allocations: 90.55 kB / 0.9628 GB, free: 2.004 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.9029, allocations: 1.22 MB / 0.964 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002733/0.9032, allocations: 89.7 kB / 0.964 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000586/0.9038, allocations: 0.8096 MB / 0.9648 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.905, allocations: 1.336 MB / 0.9661 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.9052, allocations: 68 kB / 0.9662 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002171/0.9054, allocations: 445 kB / 0.9666 GB, free: 14 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002492/0.9079, allocations: 1.596 MB / 0.9682 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00269/0.9106, allocations: 1.89 MB / 0.97 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/0.9135, allocations: 1.89 MB / 0.9719 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.9135, allocations: 3.984 kB / 0.9719 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006495/0.92, allocations: 4.164 MB / 0.976 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.92, allocations: 8 kB / 0.976 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.9201, allocations: 4 kB / 0.976 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.9201, allocations: 20 kB / 0.976 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/0.9229, allocations: 0.6908 MB / 0.9767 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-05/0.9229, allocations: 19.95 kB / 0.9767 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/0.9256, allocations: 397.1 kB / 0.9771 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.9258, allocations: 116 kB / 0.9772 GB, free: 3.133 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001407/0.9272, allocations: 0.7287 MB / 0.9779 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004779/0.9277, allocations: 245 kB / 0.9781 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007486/0.9352, allocations: 4.626 MB / 0.9826 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.358e-05/0.9353, allocations: 44 kB / 0.9827 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.9353, allocations: 0 / 0.9827 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005787/0.9411, allocations: 3.934 MB / 0.9865 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.9542, allocations: 8.272 MB / 0.9946 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.9542, allocations: 0 / 0.9946 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/0.9571, allocations: 0.6631 MB / 0.9952 GB, free: 428 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/0.9576, allocations: 142.5 kB / 0.9954 GB, free: 276 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/0.9578, allocations: 79.98 kB / 0.9954 GB, free: 196 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003807/0.9616, allocations: 4.529 MB / 0.9999 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9617, allocations: 0 / 0.9999 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.9723, allocations: 6.787 MB / 1.006 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/0.9742, allocations: 0.7627 MB / 1.007 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004435/0.9747, allocations: 71.94 kB / 1.007 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/0.9768, allocations: 220 kB / 1.008 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003896/0.9772, allocations: 222.8 kB / 1.008 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/0.9774, allocations: 112 kB / 1.008 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001215/0.9787, allocations: 0.845 MB / 1.009 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.044e-06/0.9787, allocations: 0 / 1.009 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003212/0.9819, allocations: 1.096 MB / 1.01 GB, free: 1.078 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007523/0.9827, allocations: 348.9 kB / 1.01 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006328/0.989, allocations: 4.024 MB / 1.014 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.989, allocations: 0 / 1.014 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003763/0.9928, allocations: 2.544 MB / 1.016 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004658/0.9975, allocations: 1.038 MB / 1.017 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.008, allocations: 7.886 MB / 1.025 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/1.01, allocations: 1.939 MB / 1.027 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003988/1.014, allocations: 1.231 MB / 1.028 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009231/1.015, allocations: 239.4 kB / 1.029 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of SimCode: time 8.01e-07/1.015, allocations: 0 / 1.029 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.4369/1.452, allocations: 43.68 MB / 1.071 GB, free: 262.2 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)