Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008996/0.0008995, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008289/0.008289, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9654/0.9654, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 8 kB / 0.5076 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1608, allocations: 82.32 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9753/1.136, allocations: 294 MB / 0.8751 GB, free: 51.63 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.057/1.193, allocations: 49.63 MB / 0.9235 GB, free: 50.91 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01101/1.204, allocations: 262 kB / 0.9238 GB, free: 50.91 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.009493/1.214, allocations: 2.782 MB / 0.9265 GB, free: 50.85 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02741/1.241, allocations: 8.399 MB / 0.9347 GB, free: 50.48 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01799/1.259, allocations: 5.995 MB / 0.9405 GB, free: 50.31 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03489/1.294, allocations: 24.55 MB / 0.9645 GB, free: 42.98 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0124/1.307, allocations: 4.726 MB / 0.9691 GB, free: 40.23 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02149/1.328, allocations: 6.199 MB / 0.9752 GB, free: 37.72 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0118/1.34, allocations: 4.906 MB / 0.98 GB, free: 35.32 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002706/1.343, allocations: 228.7 kB / 0.9802 GB, free: 35.32 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.015/1.358, allocations: 3.908 MB / 0.984 GB, free: 33.45 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004069/1.362, allocations: 1.132 MB / 0.9851 GB, free: 32.65 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.009286/1.371, allocations: 3.322 MB / 0.9884 GB, free: 29.54 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02056/1.392, allocations: 9.914 MB / 0.998 GB, free: 20.07 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.392, allocations: 4 kB / 0.998 GB, free: 20.07 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.423e-06/1.392, allocations: 0 / 0.998 GB, free: 20.07 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004203/1.392, allocations: 4 kB / 0.9981 GB, free: 20.06 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.01286/1.405, allocations: 6.195 MB / 1.004 GB, free: 13.82 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.405, allocations: 8.031 kB / 1.004 GB, free: 13.81 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/1.408, allocations: 0.7881 MB / 1.005 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/1.42, allocations: 5.216 MB / 1.01 GB, free: 7.883 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/1.42, allocations: 320.1 kB / 1.01 GB, free: 7.566 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001211/1.421, allocations: 431.7 kB / 1.011 GB, free: 7.148 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/1.433, allocations: 4.382 MB / 1.015 GB, free: 2.492 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002114/1.433, allocations: 23.77 kB / 1.015 GB, free: 2.469 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009067/1.434, allocations: 172 kB / 1.015 GB, free: 2.301 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/1.434, allocations: 116 kB / 1.015 GB, free: 2.188 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007347/1.442, allocations: 2.974 MB / 1.018 GB, free: 15.21 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 preOpt removeSimpleEquations (simulation): time 0.03655/1.478, allocations: 25.04 MB / 1.043 GB, free: 4.324 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/1.482, allocations: 2.775 MB / 1.045 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/1.484, allocations: 0.9993 MB / 1.046 GB, free: 376 kB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00351/1.488, allocations: 3.913 MB / 1.05 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.57e-05/1.488, allocations: 68.5 kB / 1.05 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 4.769e-06/1.488, allocations: 4 kB / 1.05 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.01098/1.499, allocations: 4.108 MB / 1.054 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/1.499, allocations: 77.41 kB / 1.054 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007719/1.507, allocations: 4.225 MB / 1.058 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005235/1.507, allocations: 81.7 kB / 1.058 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00256/1.51, allocations: 2.808 MB / 1.061 GB, free: 136 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/1.511, allocations: 0.7518 MB / 1.062 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005482/1.511, allocations: 235.6 kB / 1.062 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.512, allocations: 301.1 kB / 1.062 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/1.513, allocations: 0.8138 MB / 1.063 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002635/1.516, allocations: 1.826 MB / 1.065 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004286/1.52, allocations: 2.529 MB / 1.068 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/1.52, allocations: 4 kB / 1.068 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01007/1.53, allocations: 3.562 MB / 1.071 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008421/1.531, allocations: 0.7379 MB / 1.072 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.677e-05/1.531, allocations: 27.98 kB / 1.072 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002802/1.534, allocations: 0.5865 MB / 1.072 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/1.536, allocations: 0.5616 MB / 1.073 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/1.539, allocations: 2.685 MB / 1.075 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005143/1.544, allocations: 0.5984 MB / 1.076 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004433/1.544, allocations: 140 kB / 1.076 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/1.544, allocations: 4 kB / 1.076 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005948/1.55, allocations: 2.817 MB / 1.079 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-05/1.551, allocations: 20 kB / 1.079 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/1.552, allocations: 367.7 kB / 1.079 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/1.554, allocations: 0.5616 MB / 1.08 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009519/1.563, allocations: 7.724 MB / 1.087 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005592/1.569, allocations: 0.5546 MB / 1.088 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006162/1.569, allocations: 132 kB / 1.088 GB, free: 2.746 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.003518/1.573, allocations: 1.005 MB / 1.089 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00195/1.575, allocations: 0.5094 MB / 1.09 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007829/1.583, allocations: 3.575 MB / 1.093 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.179e-05/1.583, allocations: 39.97 kB / 1.093 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.978e-05/1.583, allocations: 4 kB / 1.093 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004227/1.587, allocations: 2.455 MB / 1.096 GB, free: 11.04 MB / 0.7637 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.01925/1.606, allocations: 8.217 MB / 1.104 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.606, allocations: 4 kB / 1.104 GB, free: 2.617 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/1.608, allocations: 367.6 kB / 1.104 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007715/1.609, allocations: 304.7 kB / 1.104 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/1.609, allocations: 63.97 kB / 1.104 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/1.611, allocations: 2.501 MB / 1.107 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.611, allocations: 0 / 1.107 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008081/1.619, allocations: 4.356 MB / 1.111 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002938/1.622, allocations: 0.974 MB / 1.112 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001172/1.623, allocations: 47.94 kB / 1.112 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004282/1.627, allocations: 435.3 kB / 1.112 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/1.628, allocations: 145.8 kB / 1.112 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003071/1.628, allocations: 111.9 kB / 1.113 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.005974/1.634, allocations: 2.793 MB / 1.115 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8.22e-07/1.634, allocations: 4 kB / 1.115 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01331/1.647, allocations: 3.269 MB / 1.119 GB, free: 3.09 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003598/1.651, allocations: 1.503 MB / 1.12 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009456/1.66, allocations: 4.445 MB / 1.124 GB, free: 13.21 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.66, allocations: 4.875 kB / 1.124 GB, free: 13.21 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002582/1.663, allocations: 1.237 MB / 1.126 GB, free: 11.97 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01833/1.681, allocations: 2.647 MB / 1.128 GB, free: 9.352 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/1.703, allocations: 11.56 MB / 1.139 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004452/1.707, allocations: 2.873 MB / 1.142 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.006431/1.714, allocations: 1.165 MB / 1.143 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/1.715, allocations: 411.2 kB / 1.144 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of SimCode: time 1.032e-06/1.715, allocations: 4 kB / 1.144 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.5323/2.247, allocations: 103 MB / 1.244 GB, free: 295.8 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)