Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.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.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T",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.0007767/0.0007765, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009698/0.00097, allocations: 168.7 kB / 15.95 MB, free: 204 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.28/1.28, allocations: 223.2 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9181/0.9181, allocations: 135.3 MB / 426.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 8 kB / 0.5071 GB, free: 5.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1663, allocations: 82.31 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.501/0.6673, allocations: 215.1 MB / 0.7975 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02129/0.6887, allocations: 14.71 MB / 0.8119 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003776/0.6925, allocations: 71.56 kB / 0.8119 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00335/0.6959, allocations: 0.8679 MB / 0.8128 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008112/0.704, allocations: 2.526 MB / 0.8153 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005528/0.7095, allocations: 1.85 MB / 0.8171 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007318/0.7169, allocations: 5.569 MB / 0.8225 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/0.7196, allocations: 1.39 MB / 0.8239 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004859/0.7244, allocations: 2.124 MB / 0.8259 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/0.7271, allocations: 1.494 MB / 0.8274 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004981/0.7276, allocations: 84 kB / 0.8275 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005208/0.7329, allocations: 2.105 MB / 0.8295 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009624/0.7339, allocations: 0.615 MB / 0.8301 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009857/0.7349, allocations: 460.5 kB / 0.8306 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004353/0.7392, allocations: 3.005 MB / 0.8335 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7392, allocations: 0 / 0.8335 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7393, allocations: 0 / 0.8335 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001007/0.7394, allocations: 0 / 0.8335 GB, free: 0.7852 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.004879/0.7442, allocations: 2.467 MB / 0.8359 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.7443, allocations: 12.03 kB / 0.8359 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003771/0.7447, allocations: 191.6 kB / 0.8361 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004766/0.7494, allocations: 0.8166 MB / 0.8369 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003619/0.7531, allocations: 1.58 MB / 0.8384 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003772/0.7535, allocations: 170.5 kB / 0.8386 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003608/0.7539, allocations: 144 kB / 0.8387 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003385/0.7573, allocations: 1.676 MB / 0.8404 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.7573, allocations: 3.906 kB / 0.8404 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.7575, allocations: 55.95 kB / 0.8404 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/0.7575, allocations: 50.52 kB / 0.8405 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003243/0.7608, allocations: 1.497 MB / 0.8419 GB, free: 7.93 MB / 0.6544 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.009915/0.7707, allocations: 7.621 MB / 0.8494 GB, free: 15.75 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.7733, allocations: 1.666 MB / 0.851 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.7743, allocations: 0.5315 MB / 0.8515 GB, free: 13.42 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.7755, allocations: 0.814 MB / 0.8523 GB, free: 12.46 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/0.7767, allocations: 0.5886 MB / 0.8529 GB, free: 11.87 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007088/0.7774, allocations: 119.2 kB / 0.853 GB, free: 11.75 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 3.958e-06/0.7774, allocations: 3.938 kB / 0.853 GB, free: 11.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003906/0.7814, allocations: 1.668 MB / 0.8546 GB, free: 10.05 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.7814, allocations: 60.41 kB / 0.8547 GB, free: 9.98 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/0.7837, allocations: 1.599 MB / 0.8563 GB, free: 8.34 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.412e-05/0.7838, allocations: 45.64 kB / 0.8563 GB, free: 8.289 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007897/0.7846, allocations: 0.9243 MB / 0.8572 GB, free: 7.355 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.7849, allocations: 295.7 kB / 0.8575 GB, free: 7.062 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.785, allocations: 20 kB / 0.8575 GB, free: 7.043 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.7851, allocations: 345.9 kB / 0.8578 GB, free: 6.699 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009966/0.7861, allocations: 458.3 kB / 0.8583 GB, free: 6.254 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.7873, allocations: 0.7937 MB / 0.8591 GB, free: 5.312 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.7885, allocations: 0.559 MB / 0.8596 GB, free: 4.746 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.7885, allocations: 0 / 0.8596 GB, free: 4.746 MB / 0.67 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002845/0.7914, allocations: 1.445 MB / 0.861 GB, free: 3.285 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002136/0.7916, allocations: 366.2 kB / 0.8614 GB, free: 2.809 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.7916, allocations: 15.94 kB / 0.8614 GB, free: 2.793 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.7917, allocations: 16 kB / 0.8614 GB, free: 2.777 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.7928, allocations: 283.6 kB / 0.8617 GB, free: 2.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-05/0.7929, allocations: 15.98 kB / 0.8617 GB, free: 2.484 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.7944, allocations: 175.5 kB / 0.8618 GB, free: 2.316 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.7945, allocations: 51.98 kB / 0.8619 GB, free: 2.266 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.7946, allocations: 7.938 kB / 0.8619 GB, free: 2.258 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002476/0.797, allocations: 1.262 MB / 0.8631 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.7971, allocations: 8 kB / 0.8631 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.7971, allocations: 16 kB / 0.8632 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.7982, allocations: 280.3 kB / 0.8634 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/0.7982, allocations: 23.92 kB / 0.8635 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.7997, allocations: 158.8 kB / 0.8636 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/0.7998, allocations: 51.98 kB / 0.8637 GB, free: 472 kB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2754/1.075, allocations: 0.5315 MB / 0.8642 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004333/1.076, allocations: 176.8 kB / 0.8643 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/1.078, allocations: 1.223 MB / 0.8655 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.078, allocations: 9.031 kB / 0.8655 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.078, allocations: 0 / 0.8655 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00187/1.08, allocations: 1.28 MB / 0.8668 GB, free: 214.7 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 postOpt removeSimpleEquations (simulation): time 0.004536/1.085, allocations: 2.979 MB / 0.8697 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.085, allocations: 0 / 0.8697 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009163/1.086, allocations: 207.1 kB / 0.8699 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001917/1.086, allocations: 45.58 kB / 0.8699 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/1.086, allocations: 32.33 kB / 0.87 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/1.087, allocations: 1.424 MB / 0.8714 GB, free: 212.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.087, allocations: 2.562 kB / 0.8714 GB, free: 212.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004357/1.092, allocations: 1.861 MB / 0.8732 GB, free: 212.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007227/1.092, allocations: 350.3 kB / 0.8735 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/1.093, allocations: 19.62 kB / 0.8735 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/1.094, allocations: 153.6 kB / 0.8737 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/1.094, allocations: 64.16 kB / 0.8737 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-05/1.095, allocations: 33.17 kB / 0.8738 GB, free: 212.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001731/1.096, allocations: 1.075 MB / 0.8748 GB, free: 212.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/1.096, allocations: 3.938 kB / 0.8748 GB, free: 212.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003425/1.1, allocations: 0.9774 MB / 0.8758 GB, free: 212 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005009/1.105, allocations: 2.909 MB / 0.8786 GB, free: 210.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003196/1.108, allocations: 1.841 MB / 0.8804 GB, free: 210 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.108, allocations: 0 / 0.8804 GB, free: 210 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.109, allocations: 0.6428 MB / 0.881 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/1.112, allocations: 0.8015 MB / 0.8818 GB, free: 209.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/1.132, allocations: 11.83 MB / 0.8934 GB, free: 203.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009031/1.133, allocations: 1.484 MB / 0.8948 GB, free: 202.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001975/1.135, allocations: 446.4 kB / 0.8953 GB, free: 202.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000919/1.136, allocations: 0.7674 MB / 0.896 GB, free: 201.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.052e-06/1.136, allocations: 0 / 0.896 GB, free: 201.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0837/1.219, allocations: 47.4 MB / 0.9423 GB, free: 183.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001297/1.219, allocations: 242.4 kB / 0.9425 GB, free: 182.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/4.187, allocations: 0 / 0.9425 GB, free: 182.8 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) Environment - environmentSimulation: