Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.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: translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009072/0.0009073, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009584/0.0009585, allocations: 177.3 kB / 15.95 MB, free: 216 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.204/1.204, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8408/0.8408, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002874, allocations: 16.56 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.4437/0.5887, allocations: 250.9 MB / 0.8322 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.4089/0.9977, allocations: 43 MB / 0.8742 GB, free: 61.02 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009489/1.007, allocations: 250.2 kB / 0.8744 GB, free: 61.02 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01104/1.018, allocations: 2.973 MB / 0.8773 GB, free: 61.01 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02855/1.047, allocations: 9.19 MB / 0.8863 GB, free: 60.9 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01619/1.063, allocations: 5.967 MB / 0.8921 GB, free: 60.8 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02188/1.085, allocations: 10.82 MB / 0.9027 GB, free: 60.79 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0108/1.096, allocations: 4.341 MB / 0.9069 GB, free: 60.26 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01456/1.11, allocations: 5.411 MB / 0.9122 GB, free: 60.24 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008437/1.119, allocations: 3.212 MB / 0.9154 GB, free: 60.23 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002128/1.121, allocations: 232.9 kB / 0.9156 GB, free: 60.23 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/1.134, allocations: 2.791 MB / 0.9183 GB, free: 60.23 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002728/1.137, allocations: 1.031 MB / 0.9193 GB, free: 60.22 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004472/1.141, allocations: 1.378 MB / 0.9207 GB, free: 60.19 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01329/1.154, allocations: 7.309 MB / 0.9278 GB, free: 59.59 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.155, allocations: 0 / 0.9278 GB, free: 59.59 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.934e-06/1.155, allocations: 0 / 0.9278 GB, free: 59.59 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003937/1.155, allocations: 0 / 0.9278 GB, free: 59.59 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01486/1.17, allocations: 6.232 MB / 0.9339 GB, free: 56.02 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/1.17, allocations: 10.25 kB / 0.9339 GB, free: 56.02 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003301/1.173, allocations: 0.7941 MB / 0.9347 GB, free: 55.63 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/1.184, allocations: 4.691 MB / 0.9392 GB, free: 53.75 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003111/1.184, allocations: 320.2 kB / 0.9395 GB, free: 53.73 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/1.185, allocations: 436.2 kB / 0.94 GB, free: 53.73 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00872/1.194, allocations: 4.324 MB / 0.9442 GB, free: 52.23 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/1.194, allocations: 12.47 kB / 0.9442 GB, free: 52.23 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005582/1.195, allocations: 177.2 kB / 0.9444 GB, free: 52.23 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/1.195, allocations: 123.8 kB / 0.9445 GB, free: 52.22 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005346/1.2, allocations: 2.941 MB / 0.9474 GB, free: 51.81 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 preOpt removeSimpleEquations (simulation): time 0.02616/1.226, allocations: 25.17 MB / 0.9719 GB, free: 32.91 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/1.229, allocations: 2.758 MB / 0.9746 GB, free: 31.55 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001958/1.231, allocations: 3.905 MB / 0.9784 GB, free: 27.05 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/1.231, allocations: 63.03 kB / 0.9785 GB, free: 27.01 MB / 0.67 GB Notification: Performance of pre-optimization done (n=217): time 3.667e-06/1.231, allocations: 2.094 kB / 0.9785 GB, free: 27.01 MB / 0.67 GB Notification: Performance of matching and sorting (n=217): time 0.00947/1.24, allocations: 4.064 MB / 0.9825 GB, free: 25.61 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/1.241, allocations: 74.97 kB / 0.9826 GB, free: 25.55 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007451/1.248, allocations: 4.401 MB / 0.9868 GB, free: 24.18 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004697/1.249, allocations: 82.27 kB / 0.9869 GB, free: 24.13 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001785/1.25, allocations: 2.781 MB / 0.9896 GB, free: 22.65 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007998/1.251, allocations: 0.7697 MB / 0.9904 GB, free: 21.99 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/1.251, allocations: 56.75 kB / 0.9904 GB, free: 21.98 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.251, allocations: 416.3 kB / 0.9908 GB, free: 21.61 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/1.253, allocations: 0.7903 MB / 0.9916 GB, free: 21.11 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/1.254, allocations: 1.777 MB / 0.9934 GB, free: 19.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/1.256, allocations: 1.078 MB / 0.9944 GB, free: 18.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/1.256, allocations: 4 kB / 0.9944 GB, free: 18.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006343/1.262, allocations: 3.496 MB / 0.9978 GB, free: 16.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.001587/1.264, allocations: 10.32 MB / 1.008 GB, free: 5.168 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/1.264, allocations: 20 kB / 1.008 GB, free: 5.148 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/1.266, allocations: 0.5647 MB / 1.008 GB, free: 4.645 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.267, allocations: 0.5637 MB / 1.009 GB, free: 4.141 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/1.269, allocations: 2.684 MB / 1.012 GB, free: 1.613 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004967/1.274, allocations: 0.609 MB / 1.012 GB, free: 1.051 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002955/1.274, allocations: 141.6 kB / 1.012 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.274, allocations: 5.25 kB / 1.012 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005121/1.279, allocations: 2.799 MB / 1.015 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.481e-05/1.279, allocations: 20 kB / 1.015 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009207/1.28, allocations: 369 kB / 1.015 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/1.282, allocations: 0.5656 MB / 1.016 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007805/1.29, allocations: 7.779 MB / 1.024 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/1.294, allocations: 0.5748 MB / 1.024 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/1.295, allocations: 133.6 kB / 1.024 GB, free: 6.391 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.002402/1.297, allocations: 1.002 MB / 1.025 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001564/1.299, allocations: 0.507 MB / 1.026 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006121/1.305, allocations: 3.578 MB / 1.029 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.435e-05/1.305, allocations: 39.28 kB / 1.029 GB, free: 2.73 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.305, allocations: 0 / 1.029 GB, free: 2.73 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003422/1.308, allocations: 2.426 MB / 1.032 GB, free: 1.051 MB / 0.6856 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.01462/1.323, allocations: 8.286 MB / 1.04 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/1.323, allocations: 0 / 1.04 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.324, allocations: 369.6 kB / 1.04 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006804/1.325, allocations: 303.5 kB / 1.04 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/1.325, allocations: 64.78 kB / 1.04 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/1.327, allocations: 2.494 MB / 1.043 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/1.327, allocations: 7.953 kB / 1.043 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006852/1.334, allocations: 4.421 MB / 1.047 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004072/1.338, allocations: 1.027 MB / 1.048 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001451/1.339, allocations: 42.56 kB / 1.048 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004143/1.343, allocations: 431 kB / 1.049 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/1.344, allocations: 157.6 kB / 1.049 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002927/1.344, allocations: 116.3 kB / 1.049 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.005332/1.349, allocations: 2.921 MB / 1.052 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.91e-07/1.349, allocations: 0 / 1.052 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01072/1.36, allocations: 3.319 MB / 1.055 GB, free: 14.32 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002491/1.363, allocations: 1.525 MB / 1.057 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006339/1.369, allocations: 4.401 MB / 1.061 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.369, allocations: 4.875 kB / 1.061 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/1.37, allocations: 1.231 MB / 1.062 GB, free: 9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01124/1.382, allocations: 2.612 MB / 1.065 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/1.397, allocations: 11.03 MB / 1.075 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003071/1.4, allocations: 2.985 MB / 1.078 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004605/1.405, allocations: 1.173 MB / 1.079 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000966/1.406, allocations: 419.2 kB / 1.08 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/1.406, allocations: 0 / 1.08 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of Templates: time 0.4274/1.833, allocations: 103.2 MB / 1.181 GB, free: 286.1 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) Environment - environmentSimulation: