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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_dev_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.0008723/0.0008725, allocations: 98.03 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.004993/0.004993, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.182/1.182, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 31.61/31.61, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003765, allocations: 9.281 kB / 0.5077 GB, free: 4.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 82.31 MB / 0.5881 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.8395/1.064, allocations: 230.5 MB / 0.8131 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02056/1.085, allocations: 10.4 MB / 0.8233 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00388/1.089, allocations: 55.62 kB / 0.8233 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004021/1.093, allocations: 1.03 MB / 0.8243 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01554/1.108, allocations: 3.428 MB / 0.8277 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00955/1.118, allocations: 1.886 MB / 0.8295 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01006/1.128, allocations: 6.274 MB / 0.8357 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003161/1.131, allocations: 1.306 MB / 0.8369 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003978/1.135, allocations: 1.326 MB / 0.8382 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004135/1.139, allocations: 1.488 MB / 0.8397 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007336/1.14, allocations: 76 kB / 0.8398 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009141/1.149, allocations: 3.717 MB / 0.8434 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001343/1.151, allocations: 0.584 MB / 0.844 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002699/1.153, allocations: 0.9538 MB / 0.8449 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01126/1.165, allocations: 3.894 MB / 0.8487 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/1.165, allocations: 0 / 0.8487 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.058e-06/1.165, allocations: 8 kB / 0.8487 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000177/1.165, allocations: 0 / 0.8487 GB, free: 1.324 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.009103/1.174, allocations: 2.132 MB / 0.8508 GB, free: 15.14 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.144e-05/1.174, allocations: 8.031 kB / 0.8508 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007857/1.175, allocations: 198.6 kB / 0.851 GB, free: 14.93 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004416/1.179, allocations: 0.5245 MB / 0.8515 GB, free: 14.4 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003697/1.183, allocations: 1.224 MB / 0.8527 GB, free: 13.12 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/1.183, allocations: 106.6 kB / 0.8528 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004683/1.184, allocations: 132 kB / 0.8529 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/1.187, allocations: 1.674 MB / 0.8545 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/1.187, allocations: 7.938 kB / 0.8546 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/1.187, allocations: 52 kB / 0.8546 GB, free: 11.09 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.489e-05/1.187, allocations: 70.52 kB / 0.8547 GB, free: 11.02 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00259/1.19, allocations: 1.454 MB / 0.8561 GB, free: 9.555 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.009788/1.2, allocations: 6.965 MB / 0.8629 GB, free: 2.133 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/1.202, allocations: 1.195 MB / 0.8641 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009898/1.203, allocations: 0.6201 MB / 0.8647 GB, free: 288 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.588/1.791, allocations: 0.859 MB / 0.8655 GB, free: 32.57 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00156/1.792, allocations: 0.6117 MB / 0.8661 GB, free: 32.53 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 4.839e-06/1.792, allocations: 0.7188 kB / 0.8661 GB, free: 32.53 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.003237/1.796, allocations: 1.582 MB / 0.8676 GB, free: 32.49 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/1.796, allocations: 89.61 kB / 0.8677 GB, free: 32.39 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/1.797, allocations: 1.192 MB / 0.8689 GB, free: 32.23 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.797, allocations: 50.36 kB / 0.8689 GB, free: 32.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006377/1.798, allocations: 0.6804 MB / 0.8696 GB, free: 32.04 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000349/1.798, allocations: 383.1 kB / 0.87 GB, free: 31.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/1.799, allocations: 83.31 kB / 0.8701 GB, free: 31.78 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.721e-05/1.799, allocations: 349.7 kB / 0.8704 GB, free: 31.48 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007039/1.799, allocations: 423.4 kB / 0.8708 GB, free: 31.48 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007824/1.8, allocations: 0.5669 MB / 0.8713 GB, free: 31.36 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/1.802, allocations: 1.024 MB / 0.8723 GB, free: 31.27 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.802, allocations: 3.375 kB / 0.8723 GB, free: 31.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002172/1.804, allocations: 1.223 MB / 0.8735 GB, free: 31.16 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/1.804, allocations: 163 kB / 0.8737 GB, free: 30.99 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.804, allocations: 3.219 kB / 0.8737 GB, free: 30.99 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/1.804, allocations: 12.22 kB / 0.8737 GB, free: 30.99 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009518/1.805, allocations: 213.7 kB / 0.8739 GB, free: 30.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/1.805, allocations: 8.625 kB / 0.8739 GB, free: 30.99 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/1.807, allocations: 174.2 kB / 0.8741 GB, free: 30.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.343e-05/1.807, allocations: 39.39 kB / 0.8741 GB, free: 30.94 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.807, allocations: 4.594 kB / 0.8741 GB, free: 30.94 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001657/1.808, allocations: 1.036 MB / 0.8751 GB, free: 30.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.808, allocations: 1.906 kB / 0.8751 GB, free: 30.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.808, allocations: 9.5 kB / 0.8752 GB, free: 30.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/1.809, allocations: 210.8 kB / 0.8754 GB, free: 30.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/1.809, allocations: 12.33 kB / 0.8754 GB, free: 30.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/1.811, allocations: 158.8 kB / 0.8755 GB, free: 30.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/1.811, allocations: 39.34 kB / 0.8756 GB, free: 30.88 MB / 0.67 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.001031/1.812, allocations: 490.8 kB / 0.876 GB, free: 30.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/1.813, allocations: 150.5 kB / 0.8762 GB, free: 30.62 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/1.815, allocations: 1.25 MB / 0.8774 GB, free: 30.54 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/1.815, allocations: 10.97 kB / 0.8774 GB, free: 30.54 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.815, allocations: 2.625 kB / 0.8774 GB, free: 30.54 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00169/1.817, allocations: 1.015 MB / 0.8784 GB, free: 30.46 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006042/1.823, allocations: 3.17 MB / 0.8815 GB, free: 29.85 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.823, allocations: 8.656 kB / 0.8815 GB, free: 29.85 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/1.824, allocations: 235.4 kB / 0.8817 GB, free: 29.85 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.767e-05/1.824, allocations: 8.969 kB / 0.8817 GB, free: 29.85 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.975e-05/1.824, allocations: 24.56 kB / 0.8818 GB, free: 29.85 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/1.824, allocations: 8.688 kB / 0.8818 GB, free: 29.85 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/1.825, allocations: 8.656 kB / 0.8818 GB, free: 29.85 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/1.828, allocations: 2.01 MB / 0.8837 GB, free: 29.51 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.829, allocations: 361.8 kB / 0.8841 GB, free: 29.32 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/1.829, allocations: 25.31 kB / 0.8841 GB, free: 29.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.831, allocations: 124 kB / 0.8842 GB, free: 29.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.831, allocations: 74 kB / 0.8843 GB, free: 29.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/1.831, allocations: 43.03 kB / 0.8843 GB, free: 29.29 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001177/1.832, allocations: 0.827 MB / 0.8851 GB, free: 29.18 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/1.832, allocations: 0 / 0.8851 GB, free: 29.18 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002851/1.835, allocations: 0.8271 MB / 0.8859 GB, free: 29.08 MB / 0.67 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.00525/1.84, allocations: 3.035 MB / 0.8889 GB, free: 28.17 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003502/1.844, allocations: 1.612 MB / 0.8905 GB, free: 28.14 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.844, allocations: 3.969 kB / 0.8905 GB, free: 28.14 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/1.845, allocations: 0.5763 MB / 0.8911 GB, free: 28.14 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00526/1.85, allocations: 0.8266 MB / 0.8919 GB, free: 28.08 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02312/1.873, allocations: 12.76 MB / 0.9043 GB, free: 23.05 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/1.875, allocations: 1.369 MB / 0.9057 GB, free: 22.31 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002502/1.877, allocations: 457.2 kB / 0.9061 GB, free: 22.21 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/1.878, allocations: 0.6274 MB / 0.9067 GB, free: 22.21 MB / 0.67 GB Notification: Performance of SimCode: time 1.583e-06/1.878, allocations: 0 / 0.9067 GB, free: 22.21 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06651/1.945, allocations: 40.48 MB / 0.9462 GB, free: 4.609 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/1.945, allocations: 254.7 kB / 0.9465 GB, free: 4.348 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.112/5.057, allocations: 0 / 0.9465 GB, free: 4.348 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)