Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_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.0007621/0.0007621, 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.005146/0.005146, 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.265/1.265, allocations: 223.2 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/package.mo): time 0.7016/0.7016, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003127, allocations: 8 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3994, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1671/0.5666, allocations: 163 MB / 0.7429 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01226/0.5789, allocations: 8.841 MB / 0.7516 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.5804, allocations: 31.81 kB / 0.7516 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.582, allocations: 0.548 MB / 0.7521 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00365/0.5857, allocations: 1.396 MB / 0.7535 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.5884, allocations: 1.06 MB / 0.7545 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003809/0.5922, allocations: 3.644 MB / 0.7581 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.5933, allocations: 0.8163 MB / 0.7589 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.5946, allocations: 0.875 MB / 0.7597 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.5956, allocations: 0.9725 MB / 0.7607 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.544e-05/0.5958, allocations: 44 kB / 0.7607 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.5978, allocations: 1.006 MB / 0.7617 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.598, allocations: 222.9 kB / 0.7619 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004957/0.5985, allocations: 0.5727 MB / 0.7625 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.6002, allocations: 1.651 MB / 0.7641 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6002, allocations: 3.938 kB / 0.7641 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6002, allocations: 0 / 0.7641 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.6002, allocations: 0 / 0.7641 GB, free: 7.098 MB / 0.5919 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.002252/0.6025, allocations: 1.367 MB / 0.7654 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.6026, allocations: 8.031 kB / 0.7654 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.6027, allocations: 127 kB / 0.7656 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.603, allocations: 135.4 kB / 0.7657 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.6042, allocations: 0.8551 MB / 0.7665 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.6043, allocations: 58 kB / 0.7666 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.6044, allocations: 79.91 kB / 0.7666 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.6057, allocations: 0.881 MB / 0.7675 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.6058, allocations: 4 kB / 0.7675 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.6058, allocations: 32 kB / 0.7675 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.6059, allocations: 24 kB / 0.7676 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.607, allocations: 0.6401 MB / 0.7682 GB, free: 2.742 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.004097/0.6111, allocations: 3.958 MB / 0.7721 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.6122, allocations: 0.5768 MB / 0.7726 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.6127, allocations: 294.4 kB / 0.7729 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008711/0.6136, allocations: 1.251 MB / 0.7741 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005637/0.6141, allocations: 335 kB / 0.7744 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=63): time 2.585e-06/0.6141, allocations: 0 / 0.7744 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=63): time 0.002272/0.6164, allocations: 1.154 MB / 0.7756 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.6165, allocations: 85.67 kB / 0.7757 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.6174, allocations: 0.865 MB / 0.7765 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.6175, allocations: 41.7 kB / 0.7765 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.6178, allocations: 460.2 kB / 0.777 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.618, allocations: 220.8 kB / 0.7772 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.618, allocations: 53.69 kB / 0.7772 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6182, allocations: 333.9 kB / 0.7776 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.6186, allocations: 213.2 kB / 0.7778 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.619, allocations: 312.4 kB / 0.7781 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008423/0.6199, allocations: 0.5426 MB / 0.7786 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6199, allocations: 0 / 0.7786 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001183/0.6211, allocations: 0.7172 MB / 0.7793 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/0.6212, allocations: 159.2 kB / 0.7794 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6212, allocations: 0 / 0.7794 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/0.6217, allocations: 112.7 kB / 0.7795 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.6221, allocations: 119.8 kB / 0.7797 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005263/0.6227, allocations: 0.6615 MB / 0.7803 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/0.6233, allocations: 103.3 kB / 0.7804 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/0.6233, allocations: 20 kB / 0.7804 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.204e-06/0.6234, allocations: 4 kB / 0.7804 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009658/0.6243, allocations: 0.58 MB / 0.781 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.6243, allocations: 0 / 0.781 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/0.6248, allocations: 113 kB / 0.7811 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.6252, allocations: 107.8 kB / 0.7812 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00047/0.6256, allocations: 0.6615 MB / 0.7818 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.6261, allocations: 83.47 kB / 0.7819 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.6262, allocations: 31.92 kB / 0.782 GB, free: 3.812 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.0004094/0.6266, allocations: 339.1 kB / 0.7823 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.6267, allocations: 102.7 kB / 0.7824 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.6284, allocations: 0.9454 MB / 0.7833 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.6284, allocations: 19.95 kB / 0.7833 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6285, allocations: 0 / 0.7833 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001188/0.6296, allocations: 0.8621 MB / 0.7842 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.6322, allocations: 1.857 MB / 0.786 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.6322, allocations: 4 kB / 0.786 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.6326, allocations: 99.88 kB / 0.7861 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005738/0.6332, allocations: 161.7 kB / 0.7862 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.6333, allocations: 19.94 kB / 0.7863 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000823/0.6341, allocations: 1.251 MB / 0.7875 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6341, allocations: 0 / 0.7875 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.6361, allocations: 1.288 MB / 0.7887 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.6365, allocations: 279.5 kB / 0.789 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.6366, allocations: 15.94 kB / 0.789 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/0.6371, allocations: 60.08 kB / 0.7891 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.6372, allocations: 44.59 kB / 0.7891 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.6373, allocations: 31.98 kB / 0.7891 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00071/0.638, allocations: 0.6013 MB / 0.7897 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.638, allocations: 4 kB / 0.7897 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00146/0.6395, allocations: 0.5573 MB / 0.7903 GB, free: 11.03 MB / 0.6231 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.003717/0.6432, allocations: 2.446 MB / 0.7927 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.645, allocations: 0.9262 MB / 0.7936 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.6451, allocations: 4 kB / 0.7936 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007012/0.6458, allocations: 392.1 kB / 0.7939 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.6479, allocations: 432.2 kB / 0.7944 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.659, allocations: 8.11 MB / 0.8023 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000621/0.6597, allocations: 1.069 MB / 0.8033 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008482/0.6606, allocations: 229.8 kB / 0.8035 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.6611, allocations: 403.3 kB / 0.8039 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of SimCode: time 8.61e-07/0.6611, allocations: 0 / 0.8039 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6687/1.33, allocations: 28.33 MB / 0.8316 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/1.33, allocations: 273.4 kB / 0.8319 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.787, allocations: 0 / 0.8319 GB, free: 212.1 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)