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.0008991/0.0008991, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001085/0.001085, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9707/0.9707, allocations: 135.3 MB / 426.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 17.62 kB / 0.5071 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2045, allocations: 82.32 MB / 0.5875 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.515/0.7195, allocations: 152.2 MB / 0.7361 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.7327, allocations: 8.305 MB / 0.7442 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.7351, allocations: 33.56 kB / 0.7443 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.737, allocations: 0.502 MB / 0.7448 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004117/0.7412, allocations: 1.258 MB / 0.746 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00312/0.7443, allocations: 0.9185 MB / 0.7469 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004207/0.7485, allocations: 3.096 MB / 0.7499 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.7498, allocations: 0.7104 MB / 0.7506 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.7517, allocations: 0.8603 MB / 0.7514 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.7531, allocations: 0.9182 MB / 0.7523 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.7533, allocations: 44 kB / 0.7524 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.7555, allocations: 0.8343 MB / 0.7532 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.7558, allocations: 211.1 kB / 0.7534 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003627/0.7561, allocations: 241.1 kB / 0.7536 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.7576, allocations: 1.22 MB / 0.7548 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7576, allocations: 0 / 0.7548 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7577, allocations: 4 kB / 0.7548 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.7577, allocations: 4 kB / 0.7548 GB, free: 1.031 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.002325/0.76, allocations: 1.375 MB / 0.7562 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.7601, allocations: 16.03 kB / 0.7562 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.7602, allocations: 122.8 kB / 0.7563 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.7605, allocations: 134.5 kB / 0.7564 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.7619, allocations: 0.8134 MB / 0.7572 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/0.762, allocations: 61.94 kB / 0.7573 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.7621, allocations: 87.55 kB / 0.7574 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.7635, allocations: 0.8654 MB / 0.7582 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.7636, allocations: 7.906 kB / 0.7582 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/0.7636, allocations: 32 kB / 0.7582 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.7637, allocations: 19.95 kB / 0.7583 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.7648, allocations: 0.6362 MB / 0.7589 GB, free: 12.72 MB / 0.5762 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.004677/0.7695, allocations: 3.962 MB / 0.7627 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.7706, allocations: 0.5771 MB / 0.7633 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/0.7711, allocations: 290.4 kB / 0.7636 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009545/0.772, allocations: 1.239 MB / 0.7648 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005935/0.7726, allocations: 331.1 kB / 0.7651 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.395e-06/0.7726, allocations: 0 / 0.7651 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=63): time 0.002372/0.775, allocations: 1.154 MB / 0.7662 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.7751, allocations: 85.67 kB / 0.7663 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.7761, allocations: 0.8611 MB / 0.7672 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.7762, allocations: 37.7 kB / 0.7672 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.7766, allocations: 464.2 kB / 0.7676 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.7767, allocations: 212.8 kB / 0.7678 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.7768, allocations: 16 kB / 0.7679 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.7769, allocations: 326 kB / 0.7682 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.7773, allocations: 209.2 kB / 0.7684 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.7777, allocations: 316.4 kB / 0.7687 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.7781, allocations: 246.1 kB / 0.7689 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7782, allocations: 0 / 0.7689 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001186/0.7793, allocations: 0.7133 MB / 0.7696 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.7795, allocations: 163.2 kB / 0.7698 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.7795, allocations: 4 kB / 0.7698 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/0.78, allocations: 108.7 kB / 0.7699 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.7805, allocations: 115.9 kB / 0.77 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005671/0.781, allocations: 0.6693 MB / 0.7706 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/0.7818, allocations: 91.38 kB / 0.7707 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.7819, allocations: 27.98 kB / 0.7707 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.7819, allocations: 4 kB / 0.7708 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001015/0.7829, allocations: 0.5724 MB / 0.7713 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.7829, allocations: 7.984 kB / 0.7713 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/0.7833, allocations: 108.7 kB / 0.7714 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.7837, allocations: 111.8 kB / 0.7715 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004819/0.7842, allocations: 0.6577 MB / 0.7722 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005499/0.7848, allocations: 87.44 kB / 0.7723 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.7848, allocations: 31.98 kB / 0.7723 GB, free: 14.19 MB / 0.5919 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.0004647/0.7853, allocations: 334.5 kB / 0.7726 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.7854, allocations: 98.78 kB / 0.7727 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.7874, allocations: 0.9425 MB / 0.7736 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.7874, allocations: 12 kB / 0.7736 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7874, allocations: 0 / 0.7736 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001202/0.7887, allocations: 0.866 MB / 0.7745 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/0.7915, allocations: 1.849 MB / 0.7763 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.7915, allocations: 0 / 0.7763 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.7919, allocations: 101 kB / 0.7764 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005786/0.7925, allocations: 173.5 kB / 0.7765 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/0.7926, allocations: 15.98 kB / 0.7766 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008594/0.7935, allocations: 1.245 MB / 0.7778 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7935, allocations: 3.953 kB / 0.7778 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.7955, allocations: 1.284 MB / 0.779 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.796, allocations: 271.6 kB / 0.7793 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.7961, allocations: 16 kB / 0.7793 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.7966, allocations: 68.69 kB / 0.7794 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.7967, allocations: 48.58 kB / 0.7794 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.7968, allocations: 27.92 kB / 0.7794 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007591/0.7976, allocations: 0.6013 MB / 0.78 GB, free: 6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.7e-07/0.7976, allocations: 0 / 0.78 GB, free: 6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001419/0.799, allocations: 0.5534 MB / 0.7806 GB, free: 5.445 MB / 0.5919 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.003665/0.8027, allocations: 2.422 MB / 0.7829 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.8046, allocations: 0.9224 MB / 0.7838 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8046, allocations: 0 / 0.7838 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006986/0.8053, allocations: 385.8 kB / 0.7842 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.8074, allocations: 430.2 kB / 0.7846 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009043/0.8164, allocations: 6.028 MB / 0.7905 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.8171, allocations: 1.072 MB / 0.7915 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001017/0.8182, allocations: 227 kB / 0.7918 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/0.8187, allocations: 407.3 kB / 0.7922 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of SimCode: time 1.362e-06/0.8187, allocations: 0 / 0.7922 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05212/0.8708, allocations: 28.73 MB / 0.8202 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.8711, allocations: 263.3 kB / 0.8205 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/3.491, allocations: 0 / 0.8205 GB, free: 12.8 MB / 0.6387 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: