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.001074/0.001074, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9837/0.9837, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001228, allocations: 58.5 kB / 0.5053 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1712, allocations: 80.93 MB / 0.5844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9414/1.113, allocations: 300.3 MB / 0.8776 GB, free: 51.87 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.06443/1.177, allocations: 49.95 MB / 0.9264 GB, free: 51.18 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01181/1.189, allocations: 299.4 kB / 0.9267 GB, free: 51.18 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01083/1.2, allocations: 3.42 MB / 0.93 GB, free: 51.12 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03133/1.231, allocations: 9.019 MB / 0.9388 GB, free: 50.76 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02199/1.253, allocations: 6.574 MB / 0.9452 GB, free: 50.55 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03186/1.285, allocations: 18.44 MB / 0.9632 GB, free: 43.23 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01557/1.301, allocations: 5.853 MB / 0.969 GB, free: 39.55 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02248/1.323, allocations: 7.359 MB / 0.9761 GB, free: 35.69 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01146/1.335, allocations: 5.081 MB / 0.9811 GB, free: 33.03 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003569/1.338, allocations: 0.5676 MB / 0.9817 GB, free: 33.03 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0167/1.355, allocations: 4.378 MB / 0.9859 GB, free: 30.55 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003363/1.358, allocations: 1.507 MB / 0.9874 GB, free: 29.08 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01036/1.369, allocations: 3.739 MB / 0.9911 GB, free: 25.36 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02635/1.395, allocations: 10.31 MB / 1.001 GB, free: 15.48 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/1.395, allocations: 0 / 1.001 GB, free: 15.48 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.004e-06/1.395, allocations: 0 / 1.001 GB, free: 15.48 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005553/1.396, allocations: 0 / 1.001 GB, free: 15.48 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.02108/1.417, allocations: 7.475 MB / 1.008 GB, free: 7.953 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.417, allocations: 8.031 kB / 1.008 GB, free: 7.945 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003902/1.421, allocations: 0.7881 MB / 1.009 GB, free: 7.148 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/1.433, allocations: 5.051 MB / 1.014 GB, free: 2.176 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000301/1.433, allocations: 324 kB / 1.014 GB, free: 1.859 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/1.434, allocations: 424 kB / 1.015 GB, free: 1.445 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/1.445, allocations: 4.382 MB / 1.019 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000192/1.446, allocations: 27.75 kB / 1.019 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009162/1.446, allocations: 178.8 kB / 1.019 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/1.447, allocations: 111.9 kB / 1.019 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007262/1.454, allocations: 2.965 MB / 1.022 GB, free: 9.508 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.03478/1.489, allocations: 25.28 MB / 1.047 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003538/1.492, allocations: 2.757 MB / 1.05 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/1.494, allocations: 0.9993 MB / 1.051 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003124/1.497, allocations: 3.909 MB / 1.055 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.578e-05/1.497, allocations: 60.56 kB / 1.055 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 5.22e-06/1.497, allocations: 0 / 1.055 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.01153/1.509, allocations: 4.064 MB / 1.059 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/1.509, allocations: 77.41 kB / 1.059 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009348/1.518, allocations: 4.301 MB / 1.063 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006012/1.519, allocations: 81.7 kB / 1.063 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002761/1.522, allocations: 2.791 MB / 1.066 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/1.523, allocations: 0.7552 MB / 1.066 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/1.524, allocations: 0.5813 MB / 1.067 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/1.524, allocations: 301.1 kB / 1.067 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/1.526, allocations: 0.8192 MB / 1.068 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/1.529, allocations: 1.823 MB / 1.07 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/1.533, allocations: 2.509 MB / 1.072 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.678e-05/1.533, allocations: 16 kB / 1.072 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008887/1.542, allocations: 3.555 MB / 1.076 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/1.542, allocations: 12 kB / 1.076 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-05/1.542, allocations: 24.91 kB / 1.076 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002642/1.544, allocations: 0.5852 MB / 1.076 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/1.546, allocations: 0.5538 MB / 1.077 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/1.549, allocations: 2.69 MB / 1.079 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003907/1.553, allocations: 339.5 kB / 1.08 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00041/1.553, allocations: 136 kB / 1.08 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00343/1.556, allocations: 1.576 MB / 1.081 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002573/1.559, allocations: 1.793 MB / 1.083 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00414/1.563, allocations: 2.463 MB / 1.086 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.856e-05/1.563, allocations: 4 kB / 1.086 GB, free: 4.012 MB / 0.7481 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007312/1.571, allocations: 3.313 MB / 1.089 GB, free: 0.6328 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/1.571, allocations: 12 kB / 1.089 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/1.571, allocations: 24 kB / 1.089 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009484/1.572, allocations: 371.5 kB / 1.089 GB, free: 228 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/1.573, allocations: 0.5576 MB / 1.09 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008039/1.581, allocations: 8.45 MB / 1.098 GB, free: 6.629 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004748/1.586, allocations: 307 kB / 1.098 GB, free: 6.328 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005251/1.587, allocations: 132 kB / 1.098 GB, free: 6.199 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.0009764/1.588, allocations: 371.8 kB / 1.099 GB, free: 5.824 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002348/1.59, allocations: 0.5017 MB / 1.099 GB, free: 5.316 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00765/1.598, allocations: 3.571 MB / 1.103 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.422e-05/1.598, allocations: 35.98 kB / 1.103 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/1.598, allocations: 7.984 kB / 1.103 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004207/1.602, allocations: 2.44 MB / 1.105 GB, free: 15.17 MB / 0.7794 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.01632/1.618, allocations: 8.254 MB / 1.113 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/1.618, allocations: 4 kB / 1.113 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/1.62, allocations: 363.5 kB / 1.114 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007879/1.621, allocations: 309.1 kB / 1.114 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/1.621, allocations: 59.97 kB / 1.114 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/1.623, allocations: 2.494 MB / 1.116 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.623, allocations: 4 kB / 1.116 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008911/1.632, allocations: 4.335 MB / 1.121 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002703/1.635, allocations: 0.8844 MB / 1.122 GB, free: 14.06 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001468/1.636, allocations: 48 kB / 1.122 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/1.639, allocations: 115.9 kB / 1.122 GB, free: 13.9 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/1.64, allocations: 153.8 kB / 1.122 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003167/1.64, allocations: 103.9 kB / 1.122 GB, free: 13.65 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.006595/1.647, allocations: 2.852 MB / 1.125 GB, free: 10.82 MB / 0.795 GB Notification: Performance of sort global known variables: time 5.81e-07/1.647, allocations: 4 kB / 1.125 GB, free: 10.82 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01414/1.661, allocations: 3.238 MB / 1.128 GB, free: 7.574 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.003784/1.664, allocations: 1.501 MB / 1.129 GB, free: 6.191 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.013/1.678, allocations: 4.879 MB / 1.134 GB, free: 1.254 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.678, allocations: 0 / 1.134 GB, free: 1.254 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002391/1.68, allocations: 1.238 MB / 1.135 GB, free: 16 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01569/1.696, allocations: 2.634 MB / 1.138 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/1.717, allocations: 9.155 MB / 1.147 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003929/1.721, allocations: 2.87 MB / 1.15 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005466/1.726, allocations: 1.16 MB / 1.151 GB, free: 256 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.727, allocations: 415.2 kB / 1.151 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of SimCode: time 2.846e-06/1.727, allocations: 0 / 1.151 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.5104/2.238, allocations: 108.2 MB / 1.257 GB, free: 318.2 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)