Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",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.001612/0.001612, allocations: 100 kB / 15.05 MB, free: 1.105 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.002208/0.002208, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.315/2.315, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.672/1.672, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004976, allocations: 11.98 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2669, allocations: 82.32 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.8154/1.082, allocations: 141.6 MB / 0.7256 GB, free: 7.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02258/1.105, allocations: 7.657 MB / 0.7331 GB, free: 2.508 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003268/1.108, allocations: 35.56 kB / 0.7331 GB, free: 2.492 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003759/1.112, allocations: 0.5932 MB / 0.7337 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009558/1.122, allocations: 1.513 MB / 0.7352 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007768/1.13, allocations: 1.241 MB / 0.7364 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00671/1.136, allocations: 1.632 MB / 0.738 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/1.139, allocations: 0.7276 MB / 0.7387 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/1.142, allocations: 0.7679 MB / 0.7394 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/1.145, allocations: 0.6756 MB / 0.7401 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004723/1.145, allocations: 43.72 kB / 0.7401 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004923/1.15, allocations: 0.8692 MB / 0.741 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008491/1.151, allocations: 197.3 kB / 0.7412 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/1.152, allocations: 243.2 kB / 0.7414 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004661/1.157, allocations: 1.215 MB / 0.7426 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/1.157, allocations: 0 / 0.7426 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.43e-06/1.157, allocations: 0 / 0.7426 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001401/1.157, allocations: 0 / 0.7426 GB, free: 13.06 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.005531/1.163, allocations: 1.375 MB / 0.7439 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/1.163, allocations: 8.031 kB / 0.7439 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004243/1.163, allocations: 130.3 kB / 0.7441 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007505/1.164, allocations: 138.5 kB / 0.7442 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/1.167, allocations: 0.7854 MB / 0.745 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.466e-05/1.167, allocations: 58 kB / 0.745 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/1.167, allocations: 80 kB / 0.7451 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/1.17, allocations: 0.8615 MB / 0.7459 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/1.17, allocations: 4 kB / 0.7459 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/1.17, allocations: 32 kB / 0.746 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/1.17, allocations: 24 kB / 0.746 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/1.172, allocations: 0.6362 MB / 0.7466 GB, free: 8.789 MB / 0.5606 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.009198/1.181, allocations: 3.981 MB / 0.7505 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/1.183, allocations: 0.5811 MB / 0.7511 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/1.185, allocations: 1.235 MB / 0.7523 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009274/1.186, allocations: 323.1 kB / 0.7526 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=63): time 5.42e-06/1.186, allocations: 0 / 0.7526 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63): time 0.003832/1.19, allocations: 1.147 MB / 0.7537 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/1.19, allocations: 89.67 kB / 0.7538 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/1.192, allocations: 0.8807 MB / 0.7546 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/1.192, allocations: 33.7 kB / 0.7547 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006771/1.193, allocations: 464.1 kB / 0.7551 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/1.193, allocations: 220.7 kB / 0.7553 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/1.193, allocations: 16 kB / 0.7553 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001999/1.193, allocations: 326 kB / 0.7557 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000642/1.194, allocations: 213.1 kB / 0.7559 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007457/1.195, allocations: 312.4 kB / 0.7562 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007311/1.196, allocations: 242.1 kB / 0.7564 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.196, allocations: 8 kB / 0.7564 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002219/1.198, allocations: 0.7054 MB / 0.7571 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005498/1.198, allocations: 0.8832 MB / 0.7579 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/1.198, allocations: 4 kB / 0.7579 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008568/1.199, allocations: 108.8 kB / 0.7581 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/1.2, allocations: 119.8 kB / 0.7582 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009512/1.201, allocations: 0.6616 MB / 0.7588 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/1.202, allocations: 99.39 kB / 0.7589 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/1.202, allocations: 24 kB / 0.7589 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.203, allocations: 4 kB / 0.7589 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001671/1.204, allocations: 0.5685 MB / 0.7595 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.204, allocations: 4.062 kB / 0.7595 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006759/1.205, allocations: 112.7 kB / 0.7596 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/1.206, allocations: 107.9 kB / 0.7597 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008825/1.206, allocations: 0.6693 MB / 0.7604 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/1.208, allocations: 87.41 kB / 0.7604 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.208, allocations: 27.98 kB / 0.7605 GB, free: 9.758 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008055/1.209, allocations: 331.1 kB / 0.7608 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003572/1.209, allocations: 98.78 kB / 0.7609 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002823/1.212, allocations: 0.9512 MB / 0.7618 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/1.212, allocations: 12 kB / 0.7618 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.212, allocations: 0 / 0.7618 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001942/1.214, allocations: 0.8581 MB / 0.7627 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004968/1.219, allocations: 1.87 MB / 0.7645 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.219, allocations: 0 / 0.7645 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/1.219, allocations: 103.9 kB / 0.7646 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009407/1.22, allocations: 157.7 kB / 0.7647 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.532e-05/1.221, allocations: 23.98 kB / 0.7648 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/1.222, allocations: 1.245 MB / 0.766 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.222, allocations: 4.031 kB / 0.766 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003345/1.225, allocations: 1.312 MB / 0.7673 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008637/1.226, allocations: 275.6 kB / 0.7675 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/1.227, allocations: 16 kB / 0.7675 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.228, allocations: 63.8 kB / 0.7676 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/1.228, allocations: 48.53 kB / 0.7676 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/1.228, allocations: 35.92 kB / 0.7677 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001485/1.229, allocations: 0.6091 MB / 0.7683 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.229, allocations: 0 / 0.7683 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00277/1.232, allocations: 0.5573 MB / 0.7688 GB, free: 0.9414 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * 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 (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00623/1.239, allocations: 2.593 MB / 0.7713 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003008/1.242, allocations: 0.9225 MB / 0.7722 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.242, allocations: 8.188 kB / 0.7723 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.243, allocations: 383.6 kB / 0.7726 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/1.246, allocations: 423.9 kB / 0.773 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/1.262, allocations: 7.374 MB / 0.7802 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/1.263, allocations: 1.096 MB / 0.7813 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001558/1.265, allocations: 211.1 kB / 0.7815 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008263/1.266, allocations: 407.3 kB / 0.7819 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of SimCode: time 1.413e-06/1.266, allocations: 3.938 kB / 0.7819 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6027/1.868, allocations: 29.01 MB / 0.8102 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003986/1.869, allocations: 262.1 kB / 0.8105 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.456/6.325, allocations: 0 / 0.8105 GB, free: 6.48 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) Environment - environmentSimulation: