Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008464/0.0008464, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.0047/0.0047, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.26/1.26, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7024/0.7024, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003005, allocations: 8.562 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3821, allocations: 81.58 MB / 0.5837 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2346/0.6168, allocations: 230.5 MB / 0.8088 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3569/0.9737, allocations: 10.38 MB / 0.819 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.9756, allocations: 51.25 kB / 0.819 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/0.9781, allocations: 1.032 MB / 0.82 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007967/0.9861, allocations: 3.434 MB / 0.8234 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00529/0.9914, allocations: 1.89 MB / 0.8252 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00948/1.001, allocations: 6.271 MB / 0.8313 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/1.004, allocations: 1.303 MB / 0.8326 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003754/1.007, allocations: 1.329 MB / 0.8339 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004126/1.011, allocations: 1.484 MB / 0.8354 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000328/1.012, allocations: 79.97 kB / 0.8354 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008645/1.02, allocations: 3.719 MB / 0.8391 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008559/1.021, allocations: 0.5807 MB / 0.8396 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001779/1.023, allocations: 0.9599 MB / 0.8406 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008011/1.031, allocations: 3.887 MB / 0.8444 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.031, allocations: 0 / 0.8444 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.787e-06/1.031, allocations: 0 / 0.8444 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.772e-05/1.031, allocations: 1.969 kB / 0.8444 GB, free: 1.801 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005256/1.036, allocations: 2.127 MB / 0.8465 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.037, allocations: 8.438 kB / 0.8465 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002624/1.037, allocations: 204.4 kB / 0.8467 GB, free: 16.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/1.04, allocations: 0.5236 MB / 0.8472 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/1.042, allocations: 1.229 MB / 0.8484 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.712e-05/1.042, allocations: 101.4 kB / 0.8485 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/1.042, allocations: 140.4 kB / 0.8486 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/1.045, allocations: 1.668 MB / 0.8502 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/1.045, allocations: 6.469 kB / 0.8502 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/1.045, allocations: 59.31 kB / 0.8503 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.592e-05/1.045, allocations: 67.78 kB / 0.8504 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/1.048, allocations: 1.448 MB / 0.8518 GB, free: 15.89 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.008305/1.056, allocations: 6.971 MB / 0.8586 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/1.058, allocations: 1.189 MB / 0.8597 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008802/1.059, allocations: 0.6201 MB / 0.8603 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008745/1.059, allocations: 0.8615 MB / 0.8612 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009873/1.06, allocations: 0.6129 MB / 0.8618 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.486e-06/1.06, allocations: 0 / 0.8618 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.003041/1.063, allocations: 1.588 MB / 0.8633 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/1.064, allocations: 92.69 kB / 0.8634 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/1.065, allocations: 1.194 MB / 0.8646 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.643e-05/1.065, allocations: 50.61 kB / 0.8646 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/1.066, allocations: 0.6787 MB / 0.8653 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000349/1.066, allocations: 381.7 kB / 0.8657 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/1.066, allocations: 86.08 kB / 0.8657 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.066, allocations: 347.4 kB / 0.8661 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007069/1.067, allocations: 420.7 kB / 0.8665 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007975/1.068, allocations: 0.5704 MB / 0.867 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/1.07, allocations: 1.021 MB / 0.868 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.07, allocations: 0.8438 kB / 0.868 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00213/1.072, allocations: 1.222 MB / 0.8692 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.072, allocations: 168.8 kB / 0.8694 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.072, allocations: 8.094 kB / 0.8694 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/1.072, allocations: 7.25 kB / 0.8694 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009157/1.073, allocations: 219.5 kB / 0.8696 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/1.073, allocations: 6.562 kB / 0.8696 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/1.074, allocations: 166 kB / 0.8698 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/1.074, allocations: 38.22 kB / 0.8698 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.051e-06/1.074, allocations: 2.625 kB / 0.8698 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001534/1.076, allocations: 1.048 MB / 0.8708 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/1.076, allocations: 3.719 kB / 0.8708 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.154e-06/1.076, allocations: 6.219 kB / 0.8708 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/1.077, allocations: 209.8 kB / 0.871 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/1.077, allocations: 9.562 kB / 0.8711 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.078, allocations: 162.4 kB / 0.8712 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/1.078, allocations: 43.61 kB / 0.8713 GB, free: 9.398 MB / 0.6544 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.0008285/1.079, allocations: 488.3 kB / 0.8717 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/1.079, allocations: 151.9 kB / 0.8719 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/1.081, allocations: 1.248 MB / 0.8731 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.081, allocations: 13.88 kB / 0.8731 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/1.081, allocations: 0 / 0.8731 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001555/1.083, allocations: 1.011 MB / 0.8741 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004646/1.088, allocations: 3.169 MB / 0.8772 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.088, allocations: 4.531 kB / 0.8772 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.089, allocations: 233.9 kB / 0.8774 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/1.089, allocations: 8.438 kB / 0.8774 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/1.089, allocations: 32.83 kB / 0.8774 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.647e-06/1.089, allocations: 7.953 kB / 0.8775 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.089, allocations: 3.625 kB / 0.8775 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/1.092, allocations: 2.009 MB / 0.8794 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006254/1.092, allocations: 361 kB / 0.8798 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/1.092, allocations: 26.53 kB / 0.8798 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/1.093, allocations: 110.5 kB / 0.8799 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/1.094, allocations: 78.25 kB / 0.88 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.87e-05/1.094, allocations: 47.08 kB / 0.88 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001081/1.095, allocations: 0.8249 MB / 0.8808 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/1.095, allocations: 0 / 0.8808 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001987/1.097, allocations: 0.8393 MB / 0.8816 GB, free: 7.145 MB / 0.6544 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.004417/1.101, allocations: 3.034 MB / 0.8846 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002724/1.104, allocations: 1.621 MB / 0.8862 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.104, allocations: 0 / 0.8862 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008462/1.105, allocations: 0.5757 MB / 0.8867 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004244/1.109, allocations: 0.823 MB / 0.8875 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/1.128, allocations: 12.77 MB / 0.9 GB, free: 15.16 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.129, allocations: 1.367 MB / 0.9013 GB, free: 13.82 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002031/1.131, allocations: 459.5 kB / 0.9018 GB, free: 13.37 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008463/1.132, allocations: 0.6212 MB / 0.9024 GB, free: 13.21 MB / 0.67 GB Notification: Performance of SimCode: time 1.393e-06/1.132, allocations: 1.859 kB / 0.9024 GB, free: 13.21 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.343/1.475, allocations: 40.47 MB / 0.9419 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/1.475, allocations: 245.2 kB / 0.9422 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/4.195, allocations: 0 / 0.9422 GB, free: 5.141 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)