Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00695/0.00695, allocations: 101.3 kB / 15.73 MB, free: 6.008 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.001532/0.001533, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.855/0.855, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 62.28 kB / 0.5856 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1807, allocations: 80.92 MB / 0.6646 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.765/0.9457, allocations: 235.9 MB / 0.895 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0211/0.9669, allocations: 10.4 MB / 0.9051 GB, free: 8.758 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00404/0.971, allocations: 63.62 kB / 0.9052 GB, free: 8.695 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004768/0.9758, allocations: 1.224 MB / 0.9064 GB, free: 7.465 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.9894, allocations: 3.781 MB / 0.9101 GB, free: 3.668 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007675/0.9972, allocations: 2.093 MB / 0.9121 GB, free: 1.582 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01003/1.007, allocations: 4.447 MB / 0.9165 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004588/1.012, allocations: 1.575 MB / 0.918 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005552/1.017, allocations: 1.65 MB / 0.9196 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004651/1.022, allocations: 1.507 MB / 0.9211 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008886/1.023, allocations: 184 kB / 0.9213 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008451/1.032, allocations: 3.258 MB / 0.9244 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001514/1.033, allocations: 0.6856 MB / 0.9251 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003004/1.036, allocations: 1.069 MB / 0.9261 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/1.047, allocations: 3.825 MB / 0.9299 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.047, allocations: 0 / 0.9299 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.245e-06/1.047, allocations: 0 / 0.9299 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001501/1.047, allocations: 0 / 0.9299 GB, free: 15.31 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.008897/1.056, allocations: 2.49 MB / 0.9323 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.056, allocations: 9.109 kB / 0.9323 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/1.06, allocations: 0.5206 MB / 0.9328 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/1.063, allocations: 1.291 MB / 0.9341 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/1.064, allocations: 102.6 kB / 0.9342 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004559/1.064, allocations: 140 kB / 0.9343 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/1.068, allocations: 1.674 MB / 0.936 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/1.068, allocations: 0 / 0.936 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/1.068, allocations: 59.98 kB / 0.936 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.079e-05/1.068, allocations: 75.19 kB / 0.9361 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003017/1.071, allocations: 1.439 MB / 0.9375 GB, free: 7.324 MB / 0.7012 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.01119/1.083, allocations: 6.961 MB / 0.9443 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/1.085, allocations: 1.185 MB / 0.9454 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00099/1.086, allocations: 0.6084 MB / 0.946 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009518/1.087, allocations: 0.8593 MB / 0.9469 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/1.088, allocations: 0.6063 MB / 0.9475 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 4.969e-06/1.088, allocations: 0 / 0.9475 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.003334/1.091, allocations: 1.576 MB / 0.949 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/1.091, allocations: 94.09 kB / 0.9491 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/1.093, allocations: 1.186 MB / 0.9503 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/1.093, allocations: 45.7 kB / 0.9503 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006483/1.094, allocations: 0.6778 MB / 0.951 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004586/1.094, allocations: 386.4 kB / 0.9513 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/1.095, allocations: 178.6 kB / 0.9515 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.095, allocations: 345.9 kB / 0.9518 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007622/1.096, allocations: 428.6 kB / 0.9522 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008858/1.096, allocations: 0.569 MB / 0.9528 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/1.098, allocations: 1.009 MB / 0.9538 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.098, allocations: 0 / 0.9538 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002249/1.1, allocations: 1.214 MB / 0.955 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/1.1, allocations: 16.19 kB / 0.955 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.1, allocations: 7.938 kB / 0.955 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/1.1, allocations: 8 kB / 0.955 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009524/1.101, allocations: 215.7 kB / 0.9552 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/1.101, allocations: 11.94 kB / 0.9552 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.102, allocations: 100.7 kB / 0.9553 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.703e-05/1.103, allocations: 36.77 kB / 0.9553 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001247/1.104, allocations: 0.7361 MB / 0.9561 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008139/1.105, allocations: 0.5535 MB / 0.9566 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001494/1.106, allocations: 0.9893 MB / 0.9576 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/1.106, allocations: 0 / 0.9576 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001871/1.108, allocations: 1.191 MB / 0.9587 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.108, allocations: 4 kB / 0.9587 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.108, allocations: 4 kB / 0.9587 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/1.108, allocations: 8.25 kB / 0.9588 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000908/1.109, allocations: 219.7 kB / 0.959 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.109, allocations: 9.953 kB / 0.959 GB, free: 400 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009611/1.11, allocations: 81.27 kB / 0.9591 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/1.11, allocations: 39.98 kB / 0.9591 GB, free: 280 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0003081/1.11, allocations: 232.1 kB / 0.9593 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/1.111, allocations: 158.2 kB / 0.9595 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/1.113, allocations: 1.236 MB / 0.9607 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/1.113, allocations: 12 kB / 0.9607 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.113, allocations: 4 kB / 0.9607 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001618/1.115, allocations: 1.007 MB / 0.9617 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00493/1.12, allocations: 3.159 MB / 0.9648 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.12, allocations: 8.25 kB / 0.9648 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/1.121, allocations: 235.7 kB / 0.965 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/1.121, allocations: 8 kB / 0.965 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/1.121, allocations: 28 kB / 0.965 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/1.121, allocations: 12.06 kB / 0.965 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.121, allocations: 4 kB / 0.965 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/1.124, allocations: 1.995 MB / 0.967 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006644/1.125, allocations: 362.9 kB / 0.9673 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/1.125, allocations: 24 kB / 0.9674 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008318/1.126, allocations: 35.91 kB / 0.9674 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.126, allocations: 80.94 kB / 0.9675 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/1.126, allocations: 39.98 kB / 0.9675 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001138/1.127, allocations: 0.8219 MB / 0.9683 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.127, allocations: 0 / 0.9683 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001911/1.129, allocations: 0.8377 MB / 0.9691 GB, free: 5.77 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001349/1.13, allocations: 0.5901 MB / 0.9697 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002968/1.133, allocations: 1.615 MB / 0.9713 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.133, allocations: 1.25 kB / 0.9713 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000915/1.134, allocations: 0.5723 MB / 0.9718 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/1.138, allocations: 0.8646 MB / 0.9727 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00537/1.143, allocations: 3.291 MB / 0.9759 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.144, allocations: 1.368 MB / 0.9772 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001774/1.146, allocations: 459.6 kB / 0.9777 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/1.146, allocations: 111.4 kB / 0.9778 GB, free: 13 MB / 0.7481 GB Notification: Performance of SimCode: time 6.82e-07/1.146, allocations: 3.938 kB / 0.9778 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of Templates: time 0.05354/1.2, allocations: 30.27 MB / 1.007 GB, free: 15.03 MB / 0.7794 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)