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.0009188/0.0009188, allocations: 97.33 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.005436/0.005436, allocations: 169.8 kB / 16.27 MB, free: 6.66 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.264/1.264, allocations: 223.2 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7235/0.7235, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003117, allocations: 12 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3717, allocations: 81.56 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2285/0.6002, allocations: 230.6 MB / 0.8089 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3445/0.9448, allocations: 15.69 MB / 0.8242 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.9479, allocations: 78.62 kB / 0.8243 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003424/0.9513, allocations: 1.144 MB / 0.8254 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009533/0.9609, allocations: 3.18 MB / 0.8285 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007333/0.9682, allocations: 2.221 MB / 0.8307 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008995/0.9772, allocations: 6.549 MB / 0.8371 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002861/0.9801, allocations: 1.584 MB / 0.8386 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005298/0.9854, allocations: 2.352 MB / 0.8409 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/0.9885, allocations: 1.533 MB / 0.8424 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.9887, allocations: 78.44 kB / 0.8425 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006007/0.9947, allocations: 3.734 MB / 0.8461 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006625/0.9954, allocations: 0.6279 MB / 0.8468 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.9967, allocations: 1.078 MB / 0.8478 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005673/1.002, allocations: 4.297 MB / 0.852 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/1.002, allocations: 0 / 0.852 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.853e-06/1.002, allocations: 3.5 kB / 0.852 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.236e-05/1.002, allocations: 0 / 0.852 GB, free: 1.629 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.003889/1.006, allocations: 2.423 MB / 0.8544 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/1.006, allocations: 10.66 kB / 0.8544 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002136/1.007, allocations: 193.8 kB / 0.8546 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004471/1.011, allocations: 0.8108 MB / 0.8554 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/1.014, allocations: 1.672 MB / 0.857 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003493/1.014, allocations: 174.9 kB / 0.8572 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/1.014, allocations: 139.5 kB / 0.8573 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/1.017, allocations: 1.675 MB / 0.8589 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/1.017, allocations: 5.844 kB / 0.8589 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/1.017, allocations: 56.12 kB / 0.859 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/1.017, allocations: 48.67 kB / 0.859 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002999/1.02, allocations: 1.49 MB / 0.8605 GB, free: 15.33 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.009576/1.03, allocations: 7.598 MB / 0.8679 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/1.032, allocations: 1.641 MB / 0.8695 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/1.033, allocations: 0.5395 MB / 0.87 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001353/1.035, allocations: 0.8164 MB / 0.8708 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/1.036, allocations: 0.579 MB / 0.8714 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007817/1.037, allocations: 121.5 kB / 0.8715 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 4.268e-06/1.037, allocations: 0.875 kB / 0.8715 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.003919/1.041, allocations: 1.659 MB / 0.8731 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/1.041, allocations: 66.06 kB / 0.8732 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/1.043, allocations: 1.572 MB / 0.8747 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-05/1.043, allocations: 46.89 kB / 0.8748 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008592/1.044, allocations: 0.9126 MB / 0.8757 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/1.044, allocations: 302.2 kB / 0.876 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/1.044, allocations: 97.06 kB / 0.876 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.044, allocations: 350.1 kB / 0.8764 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009839/1.045, allocations: 469.8 kB / 0.8768 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/1.046, allocations: 0.8115 MB / 0.8776 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/1.049, allocations: 1.262 MB / 0.8789 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.049, allocations: 6.969 kB / 0.8789 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002664/1.051, allocations: 1.471 MB / 0.8803 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002379/1.052, allocations: 372.5 kB / 0.8807 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/1.052, allocations: 10.28 kB / 0.8807 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/1.052, allocations: 12.75 kB / 0.8807 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.053, allocations: 286.4 kB / 0.8809 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/1.053, allocations: 18.94 kB / 0.881 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/1.054, allocations: 160.5 kB / 0.8811 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.763e-05/1.054, allocations: 49.02 kB / 0.8812 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.552e-06/1.054, allocations: 6.906 kB / 0.8812 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002385/1.057, allocations: 1.268 MB / 0.8824 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.057, allocations: 14.53 kB / 0.8824 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/1.057, allocations: 12.84 kB / 0.8824 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.058, allocations: 279.7 kB / 0.8827 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/1.058, allocations: 18.95 kB / 0.8827 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.059, allocations: 166 kB / 0.8829 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.083e-05/1.059, allocations: 53.8 kB / 0.8829 GB, free: 6.051 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008776/1.06, allocations: 0.5343 MB / 0.8835 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/1.06, allocations: 175 kB / 0.8836 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/1.063, allocations: 1.212 MB / 0.8848 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/1.063, allocations: 8.938 kB / 0.8848 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.063, allocations: 3.938 kB / 0.8848 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002105/1.065, allocations: 1.278 MB / 0.8861 GB, free: 4.816 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.004881/1.07, allocations: 2.975 MB / 0.889 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.07, allocations: 0 / 0.889 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009035/1.071, allocations: 195.4 kB / 0.8892 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/1.071, allocations: 46.11 kB / 0.8892 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-05/1.071, allocations: 24.61 kB / 0.8892 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/1.072, allocations: 1.412 MB / 0.8906 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.072, allocations: 6.281 kB / 0.8906 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/1.076, allocations: 1.839 MB / 0.8924 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005311/1.076, allocations: 341.4 kB / 0.8927 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/1.076, allocations: 27.92 kB / 0.8928 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.077, allocations: 150.7 kB / 0.8929 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.078, allocations: 59.45 kB / 0.893 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.306e-05/1.078, allocations: 34.41 kB / 0.893 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001238/1.079, allocations: 1.056 MB / 0.894 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/1.079, allocations: 0 / 0.894 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002375/1.081, allocations: 0.9604 MB / 0.895 GB, free: 1.043 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 (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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004867/1.086, allocations: 2.889 MB / 0.8978 GB, free: 15.87 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003478/1.09, allocations: 1.853 MB / 0.8996 GB, free: 15.47 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.09, allocations: 3.562 kB / 0.8996 GB, free: 15.47 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/1.091, allocations: 0.6329 MB / 0.9002 GB, free: 15.28 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/1.095, allocations: 0.7835 MB / 0.901 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0242/1.119, allocations: 14.7 MB / 0.9153 GB, free: 2.637 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.12, allocations: 1.488 MB / 0.9168 GB, free: 1.176 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001918/1.122, allocations: 442.5 kB / 0.9172 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008356/1.123, allocations: 0.7606 MB / 0.918 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/1.123, allocations: 0 / 0.918 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2297/1.352, allocations: 43.48 MB / 0.9604 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002993/1.353, allocations: 251 kB / 0.9607 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/4.283, allocations: 3.609 kB / 0.9607 GB, free: 5.578 MB / 0.7169 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/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)