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.0008718/0.0008718, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009793/0.0009794, allocations: 168.7 kB / 15.95 MB, free: 204 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.171/1.171, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6808/0.6808, allocations: 132.4 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002588, allocations: 9.031 kB / 0.5034 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3315, allocations: 81.58 MB / 0.5831 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5066/0.8382, allocations: 277.5 MB / 0.8541 GB, free: 59.35 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04608/0.8843, allocations: 46.96 MB / 0.8999 GB, free: 58.53 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008424/0.8927, allocations: 261.4 kB / 0.9002 GB, free: 58.53 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007409/0.9002, allocations: 2.384 MB / 0.9025 GB, free: 58.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01856/0.9188, allocations: 7.244 MB / 0.9096 GB, free: 56.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.9316, allocations: 4.764 MB / 0.9142 GB, free: 55.42 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02028/0.9519, allocations: 21.04 MB / 0.9348 GB, free: 46.1 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007359/0.9593, allocations: 4.311 MB / 0.939 GB, free: 41.82 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01081/0.9701, allocations: 5.907 MB / 0.9448 GB, free: 36.16 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006481/0.9766, allocations: 4.602 MB / 0.9493 GB, free: 31.95 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.978, allocations: 232 kB / 0.9495 GB, free: 31.72 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008671/0.9867, allocations: 2.649 MB / 0.9521 GB, free: 29.17 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002034/0.9888, allocations: 1.061 MB / 0.9531 GB, free: 28.14 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002964/0.9918, allocations: 1.377 MB / 0.9545 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008552/1, allocations: 7.429 MB / 0.9617 GB, free: 19.71 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1, allocations: 0 / 0.9617 GB, free: 19.71 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.363e-06/1, allocations: 4 kB / 0.9617 GB, free: 19.71 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002717/1.001, allocations: 0 / 0.9617 GB, free: 19.71 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.008436/1.009, allocations: 6.265 MB / 0.9678 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/1.009, allocations: 8.031 kB / 0.9678 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/1.011, allocations: 0.7872 MB / 0.9686 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006174/1.017, allocations: 5.014 MB / 0.9735 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/1.017, allocations: 319.9 kB / 0.9738 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003632/1.017, allocations: 427.9 kB / 0.9742 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005024/1.022, allocations: 4.349 MB / 0.9785 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-05/1.022, allocations: 21.91 kB / 0.9785 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/1.023, allocations: 183.4 kB / 0.9787 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.427e-05/1.023, allocations: 112 kB / 0.9788 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003859/1.027, allocations: 2.949 MB / 0.9817 GB, free: 15.09 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.02314/1.05, allocations: 25.02 MB / 1.006 GB, free: 4.281 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/1.053, allocations: 2.759 MB / 1.009 GB, free: 1.32 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/1.054, allocations: 0.9876 MB / 1.01 GB, free: 348 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002422/1.057, allocations: 3.918 MB / 1.014 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/1.057, allocations: 57.89 kB / 1.014 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=217): time 3.587e-06/1.057, allocations: 14.67 kB / 1.014 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of matching and sorting (n=217): time 0.008375/1.065, allocations: 4.062 MB / 1.018 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/1.065, allocations: 73.41 kB / 1.018 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004818/1.07, allocations: 4.185 MB / 1.022 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000206/1.07, allocations: 77.7 kB / 1.022 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001842/1.072, allocations: 2.804 MB / 1.025 GB, free: 212 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006355/1.073, allocations: 0.762 MB / 1.025 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/1.073, allocations: 56 kB / 1.025 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.073, allocations: 411.9 kB / 1.026 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/1.074, allocations: 0.7865 MB / 1.027 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/1.076, allocations: 1.798 MB / 1.028 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/1.077, allocations: 1.071 MB / 1.029 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/1.077, allocations: 11.94 kB / 1.029 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006129/1.083, allocations: 3.494 MB / 1.033 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003915/1.084, allocations: 0.7328 MB / 1.033 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/1.084, allocations: 24 kB / 1.033 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/1.086, allocations: 0.5719 MB / 1.034 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/1.087, allocations: 0.55 MB / 1.035 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/1.089, allocations: 2.701 MB / 1.037 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/1.093, allocations: 0.6023 MB / 1.038 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/1.093, allocations: 136 kB / 1.038 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/1.093, allocations: 4 kB / 1.038 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004193/1.097, allocations: 2.798 MB / 1.041 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/1.097, allocations: 28.03 kB / 1.041 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007956/1.098, allocations: 366.9 kB / 1.041 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/1.1, allocations: 0.5577 MB / 1.042 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006945/1.107, allocations: 7.703 MB / 1.049 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00371/1.11, allocations: 0.5583 MB / 1.05 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/1.111, allocations: 135.9 kB / 1.05 GB, free: 4.828 MB / 0.7169 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.001921/1.113, allocations: 1.004 MB / 1.051 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.114, allocations: 0.5055 MB / 1.051 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005354/1.119, allocations: 3.571 MB / 1.055 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-05/1.119, allocations: 39.97 kB / 1.055 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.119, allocations: 0 / 1.055 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003219/1.122, allocations: 2.428 MB / 1.057 GB, free: 13.16 MB / 0.7325 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.01093/1.133, allocations: 8.196 MB / 1.065 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.133, allocations: 0 / 1.065 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.134, allocations: 367.5 kB / 1.066 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006214/1.135, allocations: 303 kB / 1.066 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.135, allocations: 67.97 kB / 1.066 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/1.137, allocations: 2.494 MB / 1.068 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.137, allocations: 96 / 1.068 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005749/1.142, allocations: 4.327 MB / 1.073 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/1.144, allocations: 0.9778 MB / 1.073 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004356/1.145, allocations: 55.98 kB / 1.074 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/1.147, allocations: 419.2 kB / 1.074 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/1.147, allocations: 153.8 kB / 1.074 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/1.147, allocations: 111.9 kB / 1.074 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003616/1.151, allocations: 2.749 MB / 1.077 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/1.151, allocations: 0 / 1.077 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.007923/1.159, allocations: 3.261 MB / 1.08 GB, free: 5.312 MB / 0.7481 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.002068/1.161, allocations: 1.405 MB / 1.081 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006053/1.167, allocations: 4.398 MB / 1.086 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.167, allocations: 4 kB / 1.086 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/1.169, allocations: 1.238 MB / 1.087 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/1.179, allocations: 2.645 MB / 1.09 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/1.192, allocations: 11.06 MB / 1.1 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2334/1.426, allocations: 2.87 MB / 1.103 GB, free: 315 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004497/1.43, allocations: 1.158 MB / 1.104 GB, free: 314.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000801/1.431, allocations: 419.7 kB / 1.105 GB, free: 314.9 MB / 0.7637 GB Notification: Performance of SimCode: time 7.71e-07/1.431, allocations: 2.25 kB / 1.105 GB, free: 314.9 MB / 0.7637 GB Notification: Performance of Templates: time 0.1202/1.552, allocations: 100.1 MB / 1.202 GB, free: 246.2 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)