Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors") translateModel(IDEAS.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001253/0.001253, 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.001155/0.001155, allocations: 198.6 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6714/0.6714, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 68.8 kB / 0.5018 GB, free: 8.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1398, allocations: 80.2 MB / 0.5801 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ClosedDoors): time 0.4115/0.5514, allocations: 218.5 MB / 0.7934 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02313/0.5745, allocations: 20.43 MB / 0.8134 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.577, allocations: 55.75 kB / 0.8134 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003176/0.5802, allocations: 1.247 MB / 0.8147 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009648/0.59, allocations: 4.076 MB / 0.8186 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.5933, allocations: 1.533 MB / 0.8201 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007083/0.6004, allocations: 6.961 MB / 0.8269 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003432/0.6039, allocations: 2.357 MB / 0.8292 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0041/0.608, allocations: 2.364 MB / 0.8315 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00436/0.6124, allocations: 2.461 MB / 0.8339 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.6134, allocations: 340 kB / 0.8343 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00681/0.6202, allocations: 3.465 MB / 0.8377 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001713/0.622, allocations: 1.457 MB / 0.8391 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00309/0.6251, allocations: 1.867 MB / 0.8409 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007809/0.6329, allocations: 5.722 MB / 0.8465 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6329, allocations: 0 / 0.8465 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6329, allocations: 0 / 0.8465 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001262/0.633, allocations: 0 / 0.8465 GB, free: 1.758 MB / 0.6544 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.008862/0.6419, allocations: 3.946 MB / 0.8503 GB, free: 13.75 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.642, allocations: 12.03 kB / 0.8504 GB, free: 13.74 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/0.6462, allocations: 0.8324 MB / 0.8512 GB, free: 12.91 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/0.6491, allocations: 1.883 MB / 0.853 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.6493, allocations: 201.4 kB / 0.8532 GB, free: 10.77 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.6496, allocations: 264 kB / 0.8535 GB, free: 10.51 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004608/0.6542, allocations: 3.279 MB / 0.8567 GB, free: 7.188 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.675e-05/0.6543, allocations: 11.91 kB / 0.8567 GB, free: 7.176 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/0.6545, allocations: 112 kB / 0.8568 GB, free: 7.066 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.6547, allocations: 125.4 kB / 0.8569 GB, free: 6.941 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006141/0.6608, allocations: 4.612 MB / 0.8614 GB, free: 2.316 MB / 0.67 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.2324/0.8932, allocations: 10.95 MB / 0.8721 GB, free: 218.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004258/0.8975, allocations: 4.865 MB / 0.8768 GB, free: 215.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.9, allocations: 2.521 MB / 0.8793 GB, free: 214.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007439/0.9007, allocations: 0.8648 MB / 0.8801 GB, free: 214 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.9008, allocations: 82.19 kB / 0.8802 GB, free: 213.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=399): time 4.669e-06/0.9008, allocations: 0 / 0.8802 GB, free: 213.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=399): time 0.00714/0.9079, allocations: 6.014 MB / 0.8861 GB, free: 211.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.908, allocations: 91.64 kB / 0.8862 GB, free: 211.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.9092, allocations: 1.234 MB / 0.8874 GB, free: 211 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001646/0.9094, allocations: 94.42 kB / 0.8875 GB, free: 210.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.9097, allocations: 0.815 MB / 0.8883 GB, free: 210.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006208/0.9104, allocations: 1.329 MB / 0.8896 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006098/0.911, allocations: 0.5526 MB / 0.8901 GB, free: 209.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.419e-05/0.911, allocations: 305.1 kB / 0.8904 GB, free: 208.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.9128, allocations: 1.603 MB / 0.892 GB, free: 208.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.9148, allocations: 1.918 MB / 0.8938 GB, free: 207.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004776/0.9196, allocations: 3.831 MB / 0.8976 GB, free: 205.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.9196, allocations: 1.406 kB / 0.8976 GB, free: 205.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005553/0.9252, allocations: 4.184 MB / 0.9017 GB, free: 204.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.9252, allocations: 13.84 kB / 0.9017 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.9252, allocations: 2.625 kB / 0.9017 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/0.9252, allocations: 19.61 kB / 0.9017 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.9277, allocations: 0.6831 MB / 0.9024 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/0.9278, allocations: 20.97 kB / 0.9024 GB, free: 204.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.9297, allocations: 244.5 kB / 0.9026 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.93, allocations: 111.4 kB / 0.9027 GB, free: 203.9 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009986/0.931, allocations: 0.7256 MB / 0.9034 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.9313, allocations: 244.5 kB / 0.9037 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00588/0.9372, allocations: 4.623 MB / 0.9082 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/0.9373, allocations: 41.91 kB / 0.9082 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.9373, allocations: 5.25 kB / 0.9082 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004747/0.942, allocations: 3.952 MB / 0.9121 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.9539, allocations: 8.257 MB / 0.9202 GB, free: 196.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.9539, allocations: 2 kB / 0.9202 GB, free: 196.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/0.9566, allocations: 0.6611 MB / 0.9208 GB, free: 196.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004939/0.9571, allocations: 150.3 kB / 0.9209 GB, free: 196.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/0.9574, allocations: 86.78 kB / 0.921 GB, free: 196.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.9602, allocations: 5.081 MB / 0.926 GB, free: 191.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9602, allocations: 0 / 0.926 GB, free: 191.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008848/0.969, allocations: 7.028 MB / 0.9329 GB, free: 188.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.9703, allocations: 0.7607 MB / 0.9336 GB, free: 188.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/0.9707, allocations: 68.44 kB / 0.9337 GB, free: 188.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/0.9723, allocations: 91.36 kB / 0.9337 GB, free: 188.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003918/0.9727, allocations: 227.2 kB / 0.934 GB, free: 188.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/0.9729, allocations: 106.7 kB / 0.9341 GB, free: 188.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009655/0.9738, allocations: 0.8571 MB / 0.9349 GB, free: 187.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9739, allocations: 0 / 0.9349 GB, free: 187.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001825/0.9757, allocations: 1.073 MB / 0.9359 GB, free: 187.7 MB / 0.67 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.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004813/0.9762, allocations: 342.7 kB / 0.9363 GB, free: 187.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01746/0.9936, allocations: 11.48 MB / 0.9475 GB, free: 179 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.9937, allocations: 0 / 0.9475 GB, free: 179 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002831/0.9965, allocations: 2.551 MB / 0.95 GB, free: 176.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/1, allocations: 1.09 MB / 0.951 GB, free: 175.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007643/1.008, allocations: 6.626 MB / 0.9575 GB, free: 169.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/1.009, allocations: 1.94 MB / 0.9594 GB, free: 168.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00308/1.013, allocations: 1.217 MB / 0.9606 GB, free: 167.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008236/1.013, allocations: 238.4 kB / 0.9608 GB, free: 167.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.443e-06/1.013, allocations: 0 / 0.9608 GB, free: 167.2 MB / 0.67 GB Notification: Performance of Templates: time 0.05564/1.069, allocations: 47.76 MB / 1.007 GB, free: 120.5 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)