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/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: 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.0008009/0.0008009, allocations: 91.14 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.005601/0.005601, allocations: 173.4 kB / 16.27 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7831/0.7831, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003464, allocations: 8.531 kB / 0.504 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4401, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6999/1.14, allocations: 294 MB / 0.8708 GB, free: 52.84 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.06215/1.202, allocations: 49.63 MB / 0.9192 GB, free: 50.11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01332/1.216, allocations: 258.9 kB / 0.9195 GB, free: 50.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01026/1.226, allocations: 2.781 MB / 0.9222 GB, free: 48.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02663/1.252, allocations: 8.402 MB / 0.9304 GB, free: 43.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.02213/1.275, allocations: 5.992 MB / 0.9363 GB, free: 39.49 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0264/1.301, allocations: 24.55 MB / 0.9602 GB, free: 17.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008869/1.31, allocations: 4.733 MB / 0.9648 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01541/1.325, allocations: 6.19 MB / 0.9709 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0115/1.337, allocations: 4.915 MB / 0.9757 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002739/1.34, allocations: 232 kB / 0.9759 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0138/1.354, allocations: 3.905 MB / 0.9797 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002748/1.356, allocations: 1.122 MB / 0.9808 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007986/1.364, allocations: 3.323 MB / 0.9841 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02032/1.385, allocations: 9.918 MB / 0.9938 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.385, allocations: 0 / 0.9938 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.144e-06/1.385, allocations: 0 / 0.9938 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003468/1.385, allocations: 0 / 0.9938 GB, free: 1.148 MB / 0.6544 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.01293/1.398, allocations: 6.207 MB / 0.9998 GB, free: 10.89 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.398, allocations: 8.031 kB / 0.9998 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/1.401, allocations: 0.7841 MB / 1.001 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/1.413, allocations: 5.211 MB / 1.006 GB, free: 4.965 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/1.413, allocations: 318.5 kB / 1.006 GB, free: 4.652 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000745/1.414, allocations: 432.8 kB / 1.006 GB, free: 4.23 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008105/1.422, allocations: 4.39 MB / 1.011 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.341e-05/1.422, allocations: 15.78 kB / 1.011 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003814/1.423, allocations: 172 kB / 1.011 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/1.423, allocations: 116 kB / 1.011 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005676/1.428, allocations: 2.972 MB / 1.014 GB, free: 12.3 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.03023/1.459, allocations: 25.04 MB / 1.038 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003305/1.462, allocations: 2.776 MB / 1.041 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/1.464, allocations: 1.007 MB / 1.042 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003051/1.467, allocations: 3.914 MB / 1.046 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.7e-05/1.467, allocations: 64.56 kB / 1.046 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 4.799e-06/1.467, allocations: 0 / 1.046 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.0107/1.477, allocations: 4.112 MB / 1.05 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/1.478, allocations: 73.41 kB / 1.05 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007216/1.485, allocations: 4.236 MB / 1.054 GB, free: 100 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006956/1.485, allocations: 81.7 kB / 1.054 GB, free: 12 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002809/1.488, allocations: 2.791 MB / 1.057 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001377/1.49, allocations: 0.7585 MB / 1.058 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/1.49, allocations: 235.6 kB / 1.058 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.49, allocations: 301.1 kB / 1.058 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/1.492, allocations: 0.8138 MB / 1.059 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/1.494, allocations: 1.822 MB / 1.061 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/1.497, allocations: 2.529 MB / 1.063 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/1.498, allocations: 8 kB / 1.063 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008224/1.506, allocations: 3.573 MB / 1.067 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006124/1.506, allocations: 0.7377 MB / 1.067 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/1.506, allocations: 28 kB / 1.067 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/1.509, allocations: 0.5846 MB / 1.068 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/1.511, allocations: 0.5499 MB / 1.069 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/1.514, allocations: 2.698 MB / 1.071 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005768/1.52, allocations: 0.5945 MB / 1.072 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005169/1.52, allocations: 136 kB / 1.072 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.52, allocations: 11.98 kB / 1.072 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006733/1.527, allocations: 2.821 MB / 1.075 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-05/1.527, allocations: 24 kB / 1.075 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/1.528, allocations: 369.6 kB / 1.075 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/1.53, allocations: 0.5577 MB / 1.076 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009677/1.54, allocations: 7.713 MB / 1.083 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005963/1.546, allocations: 0.5593 MB / 1.084 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006071/1.546, allocations: 132 kB / 1.084 GB, free: 15.8 MB / 0.7637 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.003055/1.549, allocations: 1.001 MB / 1.085 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001647/1.551, allocations: 0.5093 MB / 1.085 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007405/1.559, allocations: 3.585 MB / 1.089 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.478e-05/1.559, allocations: 39.97 kB / 1.089 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.559, allocations: 0 / 1.089 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004119/1.563, allocations: 2.445 MB / 1.091 GB, free: 8.102 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.4003/1.963, allocations: 8.215 MB / 1.099 GB, free: 319.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/1.963, allocations: 1.219 kB / 1.099 GB, free: 319.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.965, allocations: 369.3 kB / 1.1 GB, free: 319.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000835/1.966, allocations: 305 kB / 1.1 GB, free: 319.8 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/1.966, allocations: 63.73 kB / 1.1 GB, free: 319.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/1.968, allocations: 2.501 MB / 1.102 GB, free: 317.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.968, allocations: 1.906 kB / 1.102 GB, free: 317.7 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008597/1.976, allocations: 4.358 MB / 1.107 GB, free: 317.1 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003547/1.98, allocations: 0.9761 MB / 1.108 GB, free: 316.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001679/1.982, allocations: 45.75 kB / 1.108 GB, free: 316.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005333/1.987, allocations: 423.7 kB / 1.108 GB, free: 316.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004181/1.987, allocations: 148.2 kB / 1.108 GB, free: 316.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004139/1.988, allocations: 117.1 kB / 1.108 GB, free: 316.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00724/1.995, allocations: 2.795 MB / 1.111 GB, free: 315.7 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.31e-07/1.995, allocations: 0 / 1.111 GB, free: 315.7 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.01583/2.011, allocations: 3.27 MB / 1.114 GB, free: 315.4 MB / 0.7637 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.003981/2.015, allocations: 1.495 MB / 1.116 GB, free: 315.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00848/2.023, allocations: 4.444 MB / 1.12 GB, free: 313.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/2.023, allocations: 1.125 kB / 1.12 GB, free: 313.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002164/2.026, allocations: 1.239 MB / 1.121 GB, free: 312.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01529/2.041, allocations: 2.653 MB / 1.124 GB, free: 312.4 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/2.056, allocations: 11.56 MB / 1.135 GB, free: 305.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/2.058, allocations: 2.873 MB / 1.138 GB, free: 304.9 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004832/2.063, allocations: 1.161 MB / 1.139 GB, free: 304.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009014/2.064, allocations: 417 kB / 1.139 GB, free: 304.6 MB / 0.7637 GB Notification: Performance of SimCode: time 1.152e-06/2.064, allocations: 0 / 1.139 GB, free: 304.6 MB / 0.7637 GB Notification: Performance of Templates: time 0.1454/2.209, allocations: 103 MB / 1.24 GB, free: 209.7 MB / 0.7637 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (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)