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.001502/0.001502, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001491/0.001491, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9401/0.9401, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 60.47 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1653, allocations: 81.03 MB / 0.5845 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.8726/1.038, allocations: 297.5 MB / 0.875 GB, free: 51.41 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.05918/1.097, allocations: 49.64 MB / 0.9235 GB, free: 50.71 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01222/1.109, allocations: 277.8 kB / 0.9237 GB, free: 50.71 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0107/1.12, allocations: 2.951 MB / 0.9266 GB, free: 50.64 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02456/1.145, allocations: 8.388 MB / 0.9348 GB, free: 50.27 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0175/1.162, allocations: 6.089 MB / 0.9408 GB, free: 50.1 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03199/1.194, allocations: 18.56 MB / 0.9589 GB, free: 43.52 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00939/1.204, allocations: 5.77 MB / 0.9645 GB, free: 40.75 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01952/1.223, allocations: 7.437 MB / 0.9718 GB, free: 36.82 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009949/1.233, allocations: 5.229 MB / 0.9769 GB, free: 34.07 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002517/1.236, allocations: 0.5622 MB / 0.9774 GB, free: 34.07 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01366/1.249, allocations: 4.45 MB / 0.9818 GB, free: 32 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002648/1.252, allocations: 1.498 MB / 0.9832 GB, free: 30.69 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.007105/1.259, allocations: 3.751 MB / 0.9869 GB, free: 26.96 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01652/1.276, allocations: 10.38 MB / 0.997 GB, free: 17.03 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.276, allocations: 0 / 0.997 GB, free: 17.03 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.593e-06/1.276, allocations: 0 / 0.997 GB, free: 17.03 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002616/1.276, allocations: 0 / 0.997 GB, free: 17.03 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.01101/1.287, allocations: 7.468 MB / 1.004 GB, free: 9.508 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/1.287, allocations: 12.02 kB / 1.004 GB, free: 9.496 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/1.289, allocations: 0.7881 MB / 1.005 GB, free: 8.699 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00703/1.296, allocations: 5.214 MB / 1.01 GB, free: 3.57 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/1.296, allocations: 322.3 kB / 1.011 GB, free: 3.254 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004217/1.297, allocations: 431.1 kB / 1.011 GB, free: 2.836 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006972/1.304, allocations: 4.379 MB / 1.015 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.781e-05/1.304, allocations: 15.88 kB / 1.015 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003878/1.304, allocations: 179.8 kB / 1.015 GB, free: 14 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/1.304, allocations: 119.9 kB / 1.016 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006018/1.31, allocations: 2.965 MB / 1.018 GB, free: 10.91 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.03137/1.342, allocations: 25.01 MB / 1.043 GB, free: 56 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003501/1.345, allocations: 2.759 MB / 1.046 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/1.347, allocations: 0.9974 MB / 1.046 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00362/1.35, allocations: 3.908 MB / 1.05 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.111e-05/1.351, allocations: 60.56 kB / 1.05 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 5.45e-06/1.351, allocations: 7.922 kB / 1.05 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.01126/1.362, allocations: 4.059 MB / 1.054 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/1.362, allocations: 73.41 kB / 1.054 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006566/1.369, allocations: 4.244 MB / 1.059 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003538/1.369, allocations: 73.7 kB / 1.059 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002592/1.371, allocations: 2.801 MB / 1.061 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009044/1.372, allocations: 0.7685 MB / 1.062 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008275/1.373, allocations: 0.5684 MB / 1.063 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.373, allocations: 305.1 kB / 1.063 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/1.375, allocations: 0.8231 MB / 1.064 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00245/1.377, allocations: 1.818 MB / 1.066 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003778/1.381, allocations: 2.513 MB / 1.068 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/1.381, allocations: 8 kB / 1.068 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008321/1.389, allocations: 3.55 MB / 1.071 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/1.389, allocations: 16.19 kB / 1.071 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/1.39, allocations: 24 kB / 1.071 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/1.392, allocations: 0.5871 MB / 1.072 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/1.394, allocations: 0.5538 MB / 1.073 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/1.396, allocations: 2.696 MB / 1.075 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004376/1.401, allocations: 0.5892 MB / 1.076 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000338/1.401, allocations: 143.9 kB / 1.076 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003085/1.404, allocations: 1.568 MB / 1.077 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002403/1.407, allocations: 1.791 MB / 1.079 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0038/1.41, allocations: 2.463 MB / 1.082 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.187e-05/1.411, allocations: 8 kB / 1.082 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007485/1.418, allocations: 3.317 MB / 1.085 GB, free: 2.055 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.418, allocations: 16.25 kB / 1.085 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/1.418, allocations: 24 kB / 1.085 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/1.419, allocations: 363.1 kB / 1.085 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/1.421, allocations: 0.5538 MB / 1.086 GB, free: 1.094 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009839/1.431, allocations: 8.453 MB / 1.094 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004848/1.436, allocations: 0.569 MB / 1.095 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/1.436, allocations: 128 kB / 1.095 GB, free: 7.363 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.000731/1.437, allocations: 369.4 kB / 1.095 GB, free: 6.992 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/1.438, allocations: 0.5055 MB / 1.096 GB, free: 6.48 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006618/1.444, allocations: 3.58 MB / 1.099 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-05/1.445, allocations: 39.91 kB / 1.099 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.445, allocations: 0 / 1.099 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004375/1.449, allocations: 2.433 MB / 1.102 GB, free: 340 kB / 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.01421/1.463, allocations: 8.22 MB / 1.11 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/1.463, allocations: 0 / 1.11 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/1.465, allocations: 359.6 kB / 1.11 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007675/1.465, allocations: 308.5 kB / 1.11 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/1.466, allocations: 63.97 kB / 1.11 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/1.467, allocations: 2.498 MB / 1.113 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.467, allocations: 4 kB / 1.113 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007562/1.475, allocations: 4.339 MB / 1.117 GB, free: 172 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002412/1.477, allocations: 0.8828 MB / 1.118 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006861/1.478, allocations: 44 kB / 1.118 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.481, allocations: 423 kB / 1.118 GB, free: 14.81 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/1.482, allocations: 157.8 kB / 1.118 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/1.482, allocations: 111.9 kB / 1.118 GB, free: 14.54 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004706/1.486, allocations: 2.789 MB / 1.121 GB, free: 11.78 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/1.486, allocations: 0 / 1.121 GB, free: 11.78 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.011/1.498, allocations: 3.273 MB / 1.124 GB, free: 8.5 MB / 0.795 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.002988/1.501, allocations: 1.453 MB / 1.126 GB, free: 7.164 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01215/1.513, allocations: 4.862 MB / 1.131 GB, free: 2.25 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.513, allocations: 1.328 kB / 1.131 GB, free: 2.25 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/1.515, allocations: 1.238 MB / 1.132 GB, free: 1.008 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01134/1.526, allocations: 2.63 MB / 1.134 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/1.543, allocations: 11.41 MB / 1.145 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002727/1.546, allocations: 2.873 MB / 1.148 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004966/1.551, allocations: 1.149 MB / 1.149 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.552, allocations: 419.2 kB / 1.15 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of SimCode: time 1.803e-06/1.552, allocations: 4 kB / 1.15 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.4092/1.961, allocations: 106.3 MB / 1.254 GB, free: 317 MB / 0.8262 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)