Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="IDEAS_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.0007603/0.0007604, allocations: 91.69 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.0007952/0.0007952, 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.172/1.172, allocations: 223.3 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6824/0.6824, allocations: 132.3 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004291, allocations: 12.56 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3496, allocations: 81.58 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.1979/0.5476, allocations: 215.1 MB / 0.7932 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01844/0.5661, allocations: 14.71 MB / 0.8076 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.5681, allocations: 75.5 kB / 0.8076 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.5706, allocations: 0.858 MB / 0.8085 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005596/0.5762, allocations: 2.525 MB / 0.8109 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004172/0.5804, allocations: 1.847 MB / 0.8127 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.2897/0.8701, allocations: 5.565 MB / 0.8182 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002515/0.8726, allocations: 1.39 MB / 0.8195 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004792/0.8774, allocations: 2.128 MB / 0.8216 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.8799, allocations: 1.486 MB / 0.8231 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.8802, allocations: 83.66 kB / 0.8232 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00397/0.8842, allocations: 2.098 MB / 0.8252 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006018/0.8848, allocations: 0.6252 MB / 0.8258 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005447/0.8853, allocations: 459.1 kB / 0.8262 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.8882, allocations: 3.007 MB / 0.8292 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.8882, allocations: 3.562 kB / 0.8292 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8882, allocations: 0 / 0.8292 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.332e-05/0.8882, allocations: 0 / 0.8292 GB, free: 10.01 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.003865/0.8921, allocations: 2.464 MB / 0.8316 GB, free: 24.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.8922, allocations: 9.375 kB / 0.8316 GB, free: 24.68 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002111/0.8924, allocations: 193.8 kB / 0.8318 GB, free: 24.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004057/0.8964, allocations: 0.8123 MB / 0.8326 GB, free: 24.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.8989, allocations: 1.582 MB / 0.8341 GB, free: 24.06 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.8992, allocations: 177.6 kB / 0.8343 GB, free: 24.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.8994, allocations: 140.2 kB / 0.8344 GB, free: 24.05 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.9021, allocations: 1.673 MB / 0.8361 GB, free: 23.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.9022, allocations: 0 / 0.8361 GB, free: 23.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.9023, allocations: 56.88 kB / 0.8361 GB, free: 23.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.9023, allocations: 45.52 kB / 0.8362 GB, free: 23.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.9049, allocations: 1.502 MB / 0.8376 GB, free: 23.79 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.007651/0.9126, allocations: 7.622 MB / 0.8451 GB, free: 19.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.9147, allocations: 1.673 MB / 0.8467 GB, free: 19.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008556/0.9156, allocations: 0.5439 MB / 0.8472 GB, free: 19.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.9167, allocations: 0.8081 MB / 0.848 GB, free: 18.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000965/0.9176, allocations: 0.583 MB / 0.8486 GB, free: 18.35 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004977/0.9181, allocations: 126.2 kB / 0.8487 GB, free: 18.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 2.254e-06/0.9182, allocations: 0 / 0.8487 GB, free: 18.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.003106/0.9213, allocations: 1.661 MB / 0.8503 GB, free: 18.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.9213, allocations: 61.75 kB / 0.8504 GB, free: 17.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.9228, allocations: 1.591 MB / 0.852 GB, free: 17.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.299e-05/0.9229, allocations: 46.92 kB / 0.852 GB, free: 17.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/0.9234, allocations: 0.9195 MB / 0.8529 GB, free: 17.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.9236, allocations: 303.9 kB / 0.8532 GB, free: 17.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.9237, allocations: 22.47 kB / 0.8532 GB, free: 17.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.9238, allocations: 344.6 kB / 0.8535 GB, free: 16.92 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008027/0.9246, allocations: 455.5 kB / 0.854 GB, free: 16.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009212/0.9255, allocations: 0.7987 MB / 0.8547 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009049/0.9264, allocations: 0.5632 MB / 0.8553 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.9264, allocations: 0 / 0.8553 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002158/0.9286, allocations: 1.448 MB / 0.8567 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.9287, allocations: 367.6 kB / 0.8571 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.9288, allocations: 8.531 kB / 0.8571 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.9288, allocations: 14.56 kB / 0.8571 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/0.9298, allocations: 284.8 kB / 0.8574 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.9298, allocations: 21.31 kB / 0.8574 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.931, allocations: 159 kB / 0.8575 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.9311, allocations: 53.7 kB / 0.8576 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-06/0.9311, allocations: 2.062 kB / 0.8576 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001966/0.9331, allocations: 1.264 MB / 0.8588 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.9331, allocations: 12.06 kB / 0.8588 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.9331, allocations: 17.2 kB / 0.8588 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009508/0.9341, allocations: 283 kB / 0.8591 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.9341, allocations: 31.27 kB / 0.8591 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.9352, allocations: 164.8 kB / 0.8593 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.9353, allocations: 47.62 kB / 0.8593 GB, free: 15.73 MB / 0.6544 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.0005869/0.9359, allocations: 0.5272 MB / 0.8599 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.936, allocations: 174.1 kB / 0.86 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.9382, allocations: 1.223 MB / 0.8612 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.9382, allocations: 8.469 kB / 0.8612 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9382, allocations: 3.531 kB / 0.8612 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001805/0.94, allocations: 1.282 MB / 0.8625 GB, free: 14.86 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 postOpt removeSimpleEquations (simulation): time 0.003931/0.944, allocations: 2.991 MB / 0.8654 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.944, allocations: 3 kB / 0.8654 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008208/0.9448, allocations: 203.3 kB / 0.8656 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/0.945, allocations: 50.27 kB / 0.8656 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/0.9451, allocations: 21.52 kB / 0.8657 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.9461, allocations: 1.422 MB / 0.8671 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9461, allocations: 8.469 kB / 0.8671 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.9489, allocations: 1.856 MB / 0.8689 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004446/0.9493, allocations: 347.8 kB / 0.8692 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.9495, allocations: 18.16 kB / 0.8692 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.9506, allocations: 156.8 kB / 0.8694 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.9507, allocations: 65.27 kB / 0.8694 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.057e-05/0.9508, allocations: 33.14 kB / 0.8695 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001253/0.952, allocations: 1.083 MB / 0.8705 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.952, allocations: 0 / 0.8705 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002624/0.9547, allocations: 0.9736 MB / 0.8715 GB, free: 12.16 MB / 0.6544 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.006524/0.9612, allocations: 2.908 MB / 0.8743 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004576/0.9658, allocations: 1.838 MB / 0.8761 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.9658, allocations: 0 / 0.8761 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.9674, allocations: 0.6337 MB / 0.8767 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004838/0.9723, allocations: 0.8004 MB / 0.8775 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/0.9961, allocations: 11.84 MB / 0.8891 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.9971, allocations: 1.49 MB / 0.8905 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001977/0.9991, allocations: 440.4 kB / 0.8909 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008133/0.9999, allocations: 0.7681 MB / 0.8917 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.9999, allocations: 0 / 0.8917 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07397/1.074, allocations: 47.39 MB / 0.938 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/1.074, allocations: 243.3 kB / 0.9382 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/3.957, allocations: 0 / 0.9382 GB, free: 11.36 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) Environment - environmentSimulation: