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.007421/0.007421, allocations: 101.1 kB / 15.88 MB, free: 6.332 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.001875/0.001875, allocations: 201.3 kB / 16.79 MB, free: 6.258 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.322/1.322, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8917/0.8917, allocations: 135.1 MB / 425.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.84 kB / 0.5053 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1688, allocations: 80.92 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9775/1.146, allocations: 298.2 MB / 0.8755 GB, free: 51.65 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.06495/1.211, allocations: 50.13 MB / 0.9245 GB, free: 50.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01393/1.225, allocations: 277.8 kB / 0.9247 GB, free: 50.93 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01258/1.238, allocations: 2.791 MB / 0.9275 GB, free: 50.86 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02882/1.267, allocations: 8.399 MB / 0.9357 GB, free: 50.5 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01883/1.286, allocations: 5.981 MB / 0.9415 GB, free: 50.33 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03206/1.318, allocations: 24.55 MB / 0.9655 GB, free: 41.67 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01017/1.328, allocations: 4.865 MB / 0.9702 GB, free: 38.68 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01687/1.345, allocations: 6.372 MB / 0.9765 GB, free: 35.44 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009917/1.355, allocations: 5.11 MB / 0.9814 GB, free: 32.87 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002686/1.358, allocations: 304.6 kB / 0.9817 GB, free: 32.76 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01341/1.371, allocations: 3.977 MB / 0.9856 GB, free: 29.07 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003083/1.374, allocations: 1.237 MB / 0.9868 GB, free: 27.86 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.008738/1.383, allocations: 3.452 MB / 0.9902 GB, free: 24.43 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01229/1.395, allocations: 7.876 MB / 0.9979 GB, free: 16.95 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/1.395, allocations: 4 kB / 0.9979 GB, free: 16.94 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.784e-06/1.395, allocations: 0 / 0.9979 GB, free: 16.94 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004301/1.396, allocations: 0 / 0.9979 GB, free: 16.94 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.01503/1.411, allocations: 7.474 MB / 1.005 GB, free: 9.414 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.411, allocations: 12.03 kB / 1.005 GB, free: 9.402 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00307/1.414, allocations: 0.7881 MB / 1.006 GB, free: 8.605 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009894/1.424, allocations: 5.209 MB / 1.011 GB, free: 3.484 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/1.424, allocations: 324.1 kB / 1.011 GB, free: 3.164 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/1.425, allocations: 435.3 kB / 1.012 GB, free: 2.742 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/1.436, allocations: 4.384 MB / 1.016 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001735/1.436, allocations: 11.88 kB / 1.016 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008677/1.437, allocations: 174.1 kB / 1.016 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/1.437, allocations: 123.9 kB / 1.016 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007508/1.444, allocations: 2.953 MB / 1.019 GB, free: 10.82 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.03428/1.479, allocations: 25.01 MB / 1.044 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/1.483, allocations: 2.76 MB / 1.046 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/1.484, allocations: 0.9992 MB / 1.047 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002995/1.487, allocations: 3.913 MB / 1.051 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.784e-05/1.487, allocations: 60.56 kB / 1.051 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 4.499e-06/1.487, allocations: 0 / 1.051 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.01212/1.5, allocations: 4.067 MB / 1.055 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/1.5, allocations: 73.41 kB / 1.055 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008582/1.508, allocations: 4.239 MB / 1.059 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005523/1.509, allocations: 85.7 kB / 1.059 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002646/1.512, allocations: 2.797 MB / 1.062 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/1.513, allocations: 0.7619 MB / 1.063 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/1.514, allocations: 0.5685 MB / 1.064 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/1.514, allocations: 301.1 kB / 1.064 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/1.515, allocations: 0.8231 MB / 1.065 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/1.518, allocations: 1.822 MB / 1.066 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/1.521, allocations: 2.513 MB / 1.069 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/1.521, allocations: 8 kB / 1.069 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008407/1.53, allocations: 3.547 MB / 1.072 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/1.53, allocations: 16 kB / 1.072 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-05/1.53, allocations: 20.88 kB / 1.072 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/1.532, allocations: 0.5866 MB / 1.073 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/1.535, allocations: 0.5539 MB / 1.073 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/1.537, allocations: 2.694 MB / 1.076 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005314/1.542, allocations: 0.6003 MB / 1.077 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005668/1.543, allocations: 132 kB / 1.077 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003731/1.547, allocations: 1.568 MB / 1.078 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002507/1.549, allocations: 1.802 MB / 1.08 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004128/1.553, allocations: 2.46 MB / 1.082 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.995e-05/1.553, allocations: 4 kB / 1.082 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.00808/1.562, allocations: 3.317 MB / 1.086 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/1.562, allocations: 16 kB / 1.086 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/1.562, allocations: 20.88 kB / 1.086 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/1.563, allocations: 367.1 kB / 1.086 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/1.565, allocations: 0.5576 MB / 1.087 GB, free: 1.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00863/1.573, allocations: 7.684 MB / 1.094 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005038/1.578, allocations: 0.5651 MB / 1.095 GB, free: 8.203 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006182/1.579, allocations: 139.9 kB / 1.095 GB, free: 8.066 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.001058/1.58, allocations: 359.9 kB / 1.095 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002011/1.582, allocations: 0.5055 MB / 1.096 GB, free: 7.191 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007727/1.59, allocations: 3.581 MB / 1.099 GB, free: 3.555 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.11e-05/1.59, allocations: 47.95 kB / 1.099 GB, free: 3.508 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.59, allocations: 0 / 1.099 GB, free: 3.508 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004166/1.594, allocations: 2.433 MB / 1.102 GB, free: 1.031 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.01738/1.612, allocations: 8.212 MB / 1.11 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.612, allocations: 0 / 1.11 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/1.613, allocations: 359.6 kB / 1.11 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007851/1.614, allocations: 303.5 kB / 1.11 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/1.614, allocations: 63.97 kB / 1.11 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/1.616, allocations: 2.497 MB / 1.113 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.616, allocations: 0 / 1.113 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008371/1.624, allocations: 4.331 MB / 1.117 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002812/1.627, allocations: 0.8805 MB / 1.118 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/1.629, allocations: 43.98 kB / 1.118 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004108/1.633, allocations: 423.1 kB / 1.118 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/1.633, allocations: 153.9 kB / 1.118 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000393/1.633, allocations: 111.9 kB / 1.119 GB, free: 15.27 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.006318/1.64, allocations: 2.793 MB / 1.121 GB, free: 12.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.3e-07/1.64, allocations: 0 / 1.121 GB, free: 12.5 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01309/1.653, allocations: 3.277 MB / 1.124 GB, free: 9.215 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.003373/1.656, allocations: 1.461 MB / 1.126 GB, free: 7.871 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009233/1.666, allocations: 4.42 MB / 1.13 GB, free: 3.395 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.666, allocations: 0 / 1.13 GB, free: 3.395 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002598/1.668, allocations: 1.229 MB / 1.131 GB, free: 2.168 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01624/1.685, allocations: 2.652 MB / 1.134 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/1.705, allocations: 11.49 MB / 1.145 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00313/1.708, allocations: 2.858 MB / 1.148 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/1.71, allocations: 431.2 kB / 1.148 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of SimCode: time 1.072e-06/1.71, allocations: 0 / 1.148 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of Templates: time 0.5115/2.221, allocations: 191.2 MB / 1.335 GB, free: 229.9 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)