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.006485/0.006485, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001354/0.001354, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.6 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.89 kB / 0.5863 GB, free: 2.691 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3858, allocations: 81.02 MB / 0.6654 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7866/1.172, allocations: 300.3 MB / 0.9587 GB, free: 57.49 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.05915/1.232, allocations: 49.97 MB / 1.007 GB, free: 19.76 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01042/1.242, allocations: 294.2 kB / 1.008 GB, free: 19.47 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.009238/1.251, allocations: 3.415 MB / 1.011 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.02567/1.277, allocations: 9.018 MB / 1.02 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01851/1.296, allocations: 6.634 MB / 1.026 GB, free: 388 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02837/1.324, allocations: 18.46 MB / 1.044 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01241/1.336, allocations: 5.85 MB / 1.05 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02313/1.36, allocations: 7.38 MB / 1.057 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01038/1.37, allocations: 5.087 MB / 1.062 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002999/1.373, allocations: 0.5664 MB / 1.063 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01437/1.387, allocations: 4.383 MB / 1.067 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003371/1.391, allocations: 1.514 MB / 1.069 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.009085/1.4, allocations: 3.732 MB / 1.072 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02813/1.428, allocations: 10.48 MB / 1.082 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/1.428, allocations: 0 / 1.082 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.294e-06/1.428, allocations: 7.938 kB / 1.082 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0004656/1.429, allocations: 0 / 1.082 GB, free: 6.672 MB / 0.7481 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.02133/1.45, allocations: 7.704 MB / 1.09 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.45, allocations: 12.03 kB / 1.09 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/1.454, allocations: 0.8233 MB / 1.091 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/1.467, allocations: 5.401 MB / 1.096 GB, free: 8.516 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004013/1.468, allocations: 324.1 kB / 1.096 GB, free: 8.195 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/1.469, allocations: 431.9 kB / 1.097 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009867/1.479, allocations: 4.393 MB / 1.101 GB, free: 3.102 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-05/1.479, allocations: 15.83 kB / 1.101 GB, free: 3.086 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004069/1.48, allocations: 176 kB / 1.101 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/1.48, allocations: 112 kB / 1.101 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005606/1.486, allocations: 2.965 MB / 1.104 GB, free: 15.83 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 preOpt removeSimpleEquations (simulation): time 0.031/1.517, allocations: 25.16 MB / 1.129 GB, free: 4.637 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/1.52, allocations: 2.777 MB / 1.132 GB, free: 1.652 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/1.522, allocations: 0.9915 MB / 1.133 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003517/1.525, allocations: 3.912 MB / 1.136 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.022e-05/1.525, allocations: 64.55 kB / 1.136 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=217): time 4.668e-06/1.525, allocations: 0 / 1.136 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of matching and sorting (n=217): time 0.01103/1.537, allocations: 4.091 MB / 1.14 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/1.537, allocations: 73.41 kB / 1.14 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007495/1.544, allocations: 4.311 MB / 1.145 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0004872/1.545, allocations: 81.64 kB / 1.145 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.002655/1.547, allocations: 2.819 MB / 1.148 GB, free: 344 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/1.549, allocations: 0.8058 MB / 1.148 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008904/1.549, allocations: 0.5726 MB / 1.149 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.55, allocations: 305.1 kB / 1.149 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/1.551, allocations: 0.8231 MB / 1.15 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/1.554, allocations: 1.814 MB / 1.152 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00378/1.557, allocations: 2.517 MB / 1.154 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/1.557, allocations: 8 kB / 1.154 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008124/1.566, allocations: 3.574 MB / 1.158 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/1.566, allocations: 18.34 kB / 1.158 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/1.566, allocations: 24.12 kB / 1.158 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/1.568, allocations: 0.5767 MB / 1.158 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/1.57, allocations: 0.5538 MB / 1.159 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/1.573, allocations: 2.697 MB / 1.161 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003713/1.576, allocations: 333.8 kB / 1.162 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000361/1.577, allocations: 136 kB / 1.162 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003148/1.58, allocations: 1.576 MB / 1.163 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002441/1.582, allocations: 1.791 MB / 1.165 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003896/1.586, allocations: 2.467 MB / 1.168 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.139e-05/1.586, allocations: 4 kB / 1.168 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007325/1.594, allocations: 3.336 MB / 1.171 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/1.594, allocations: 16 kB / 1.171 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/1.594, allocations: 20 kB / 1.171 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009835/1.595, allocations: 370.9 kB / 1.171 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/1.596, allocations: 0.5538 MB / 1.172 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008764/1.605, allocations: 8.444 MB / 1.18 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00403/1.609, allocations: 307.5 kB / 1.18 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004406/1.61, allocations: 135.9 kB / 1.18 GB, free: 12.18 MB / 0.8575 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.0007431/1.61, allocations: 373.9 kB / 1.181 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001567/1.612, allocations: 0.5357 MB / 1.181 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006723/1.619, allocations: 3.55 MB / 1.185 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.205e-05/1.619, allocations: 35.98 kB / 1.185 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.619, allocations: 0 / 1.185 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004176/1.623, allocations: 2.447 MB / 1.187 GB, free: 5.121 MB / 0.8575 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.3835/2.007, allocations: 8.199 MB / 1.195 GB, free: 338.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/2.007, allocations: 0.9375 kB / 1.195 GB, free: 338.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/2.008, allocations: 367.2 kB / 1.196 GB, free: 338.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008249/2.009, allocations: 301 kB / 1.196 GB, free: 338.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/2.009, allocations: 66.88 kB / 1.196 GB, free: 338.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/2.011, allocations: 2.498 MB / 1.198 GB, free: 336.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/2.011, allocations: 0.8125 kB / 1.198 GB, free: 336.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00939/2.02, allocations: 4.355 MB / 1.203 GB, free: 334.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003077/2.023, allocations: 0.9106 MB / 1.204 GB, free: 334.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000926/2.024, allocations: 42.59 kB / 1.204 GB, free: 334.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/2.026, allocations: 125.7 kB / 1.204 GB, free: 334.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/2.027, allocations: 150.7 kB / 1.204 GB, free: 334.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/2.027, allocations: 116.2 kB / 1.204 GB, free: 334.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.005002/2.032, allocations: 2.848 MB / 1.207 GB, free: 333.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/2.032, allocations: 0 / 1.207 GB, free: 333.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.009097/2.041, allocations: 3.266 MB / 1.21 GB, free: 332.8 MB / 0.8575 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.002794/2.044, allocations: 1.523 MB / 1.211 GB, free: 332.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007012/2.051, allocations: 4.437 MB / 1.216 GB, free: 330.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/2.051, allocations: 2.781 kB / 1.216 GB, free: 330.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/2.053, allocations: 1.237 MB / 1.217 GB, free: 330.3 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01391/2.067, allocations: 2.623 MB / 1.22 GB, free: 329.6 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/2.084, allocations: 9.197 MB / 1.228 GB, free: 325.2 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003138/2.087, allocations: 2.874 MB / 1.231 GB, free: 324.3 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.005344/2.093, allocations: 1.158 MB / 1.232 GB, free: 324 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/2.094, allocations: 415.1 kB / 1.233 GB, free: 323.9 MB / 0.8575 GB Notification: Performance of SimCode: time 9.32e-07/2.094, allocations: 0 / 1.233 GB, free: 323.9 MB / 0.8575 GB Notification: Performance of Templates: time 0.1393/2.234, allocations: 105 MB / 1.335 GB, free: 227.5 MB / 0.8575 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)