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.0009772/0.0009772, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001188/0.001188, allocations: 182.9 kB / 16.28 MB, free: 6.656 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.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 36.52/36.52, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 8 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.209, allocations: 82.32 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.7685/0.9775, allocations: 163 MB / 0.7472 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01729/0.9949, allocations: 8.825 MB / 0.7559 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003285/0.9982, allocations: 33.53 kB / 0.7559 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00248/1.001, allocations: 0.5544 MB / 0.7564 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006133/1.007, allocations: 1.386 MB / 0.7578 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004355/1.011, allocations: 1.076 MB / 0.7588 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006294/1.018, allocations: 3.649 MB / 0.7624 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/1.02, allocations: 0.8201 MB / 0.7632 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/1.023, allocations: 0.875 MB / 0.7641 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/1.025, allocations: 0.9608 MB / 0.765 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004401/1.026, allocations: 48 kB / 0.765 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/1.029, allocations: 1.01 MB / 0.766 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005577/1.03, allocations: 230.9 kB / 0.7662 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/1.032, allocations: 0.5688 MB / 0.7668 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004314/1.036, allocations: 1.655 MB / 0.7684 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/1.036, allocations: 0 / 0.7684 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/1.036, allocations: 0 / 0.7684 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.165e-05/1.036, allocations: 0 / 0.7684 GB, free: 3.051 MB / 0.5762 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.004127/1.04, allocations: 1.365 MB / 0.7697 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.67e-05/1.04, allocations: 8.031 kB / 0.7698 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003851/1.041, allocations: 126.7 kB / 0.7699 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00053/1.041, allocations: 139.3 kB / 0.77 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/1.043, allocations: 0.8594 MB / 0.7708 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/1.044, allocations: 62 kB / 0.7709 GB, free: 408 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/1.044, allocations: 76 kB / 0.771 GB, free: 332 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/1.046, allocations: 0.8732 MB / 0.7718 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/1.046, allocations: 7.906 kB / 0.7718 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.388e-05/1.046, allocations: 32 kB / 0.7719 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/1.046, allocations: 19.98 kB / 0.7719 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/1.047, allocations: 0.6479 MB / 0.7725 GB, free: 14.7 MB / 0.5919 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.006346/1.054, allocations: 3.95 MB / 0.7764 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/1.055, allocations: 0.5915 MB / 0.777 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005589/1.056, allocations: 294.4 kB / 0.7772 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/1.057, allocations: 1.243 MB / 0.7785 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007289/1.058, allocations: 335 kB / 0.7788 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=63): time 3.316e-06/1.058, allocations: 0 / 0.7788 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of matching and sorting (n=63): time 0.00294/1.061, allocations: 1.15 MB / 0.7799 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/1.061, allocations: 85.67 kB / 0.78 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/1.062, allocations: 0.865 MB / 0.7808 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.896e-05/1.062, allocations: 37.7 kB / 0.7809 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004731/1.063, allocations: 468.2 kB / 0.7813 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/1.063, allocations: 220.8 kB / 0.7815 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/1.063, allocations: 49.69 kB / 0.7816 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.063, allocations: 338 kB / 0.7819 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/1.064, allocations: 205.2 kB / 0.7821 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/1.064, allocations: 320.4 kB / 0.7824 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/1.065, allocations: 0.5387 MB / 0.7829 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/1.066, allocations: 3.938 kB / 0.7829 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001645/1.067, allocations: 0.7173 MB / 0.7836 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/1.067, allocations: 155.1 kB / 0.7838 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.067, allocations: 4 kB / 0.7838 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006726/1.068, allocations: 108.8 kB / 0.7839 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/1.069, allocations: 119.8 kB / 0.784 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007269/1.069, allocations: 0.6615 MB / 0.7846 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000887/1.07, allocations: 99.3 kB / 0.7847 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/1.07, allocations: 24 kB / 0.7847 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.07, allocations: 4 kB / 0.7848 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/1.071, allocations: 0.58 MB / 0.7853 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.071, allocations: 0 / 0.7853 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004683/1.072, allocations: 109.1 kB / 0.7854 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/1.072, allocations: 119.8 kB / 0.7855 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006421/1.073, allocations: 0.6615 MB / 0.7862 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008172/1.074, allocations: 83.41 kB / 0.7863 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/1.074, allocations: 31.98 kB / 0.7863 GB, free: 15.75 MB / 0.6075 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 ($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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006331/1.075, allocations: 324.9 kB / 0.7866 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/1.075, allocations: 98.78 kB / 0.7867 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/1.077, allocations: 0.9594 MB / 0.7876 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/1.077, allocations: 8 kB / 0.7876 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.077, allocations: 0 / 0.7876 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001441/1.078, allocations: 0.866 MB / 0.7885 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003822/1.082, allocations: 1.853 MB / 0.7903 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.082, allocations: 1.75 kB / 0.7903 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/1.083, allocations: 99.89 kB / 0.7904 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007484/1.084, allocations: 165.4 kB / 0.7906 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.107e-05/1.084, allocations: 23.98 kB / 0.7906 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/1.085, allocations: 1.249 MB / 0.7918 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/1.085, allocations: 8.156 kB / 0.7918 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/1.087, allocations: 1.289 MB / 0.7931 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007084/1.088, allocations: 271.5 kB / 0.7933 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/1.088, allocations: 19.98 kB / 0.7933 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000734/1.089, allocations: 55.89 kB / 0.7934 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.089, allocations: 48.59 kB / 0.7934 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/1.089, allocations: 31.98 kB / 0.7935 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001077/1.09, allocations: 0.6013 MB / 0.7941 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/1.09, allocations: 0 / 0.7941 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002114/1.093, allocations: 0.5573 MB / 0.7946 GB, free: 6.988 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,9), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004473/1.097, allocations: 2.441 MB / 0.797 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00214/1.099, allocations: 0.9305 MB / 0.7979 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.099, allocations: 8.062 kB / 0.7979 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008109/1.1, allocations: 393.3 kB / 0.7983 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/1.103, allocations: 429.1 kB / 0.7987 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/1.116, allocations: 8.102 MB / 0.8066 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008331/1.117, allocations: 1.072 MB / 0.8076 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001024/1.118, allocations: 219 kB / 0.8079 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/1.119, allocations: 415.2 kB / 0.8083 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of SimCode: time 9.22e-07/1.119, allocations: 0 / 0.8083 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06148/1.18, allocations: 28.35 MB / 0.8359 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/1.181, allocations: 279.3 kB / 0.8362 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.96, allocations: 4.062 kB / 0.8362 GB, free: 12.53 MB / 0.6544 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/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)