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.001069/0.001069, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.00112/0.00112, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8045/0.8045, allocations: 132.2 MB / 423.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3462, allocations: 80.18 MB / 0.5815 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5334/0.8797, allocations: 300.3 MB / 0.8748 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.07086/0.9506, allocations: 49.96 MB / 0.9235 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01292/0.9635, allocations: 298.2 kB / 0.9238 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01199/0.9756, allocations: 3.415 MB / 0.9272 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02983/1.006, allocations: 9.015 MB / 0.936 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01884/1.024, allocations: 6.636 MB / 0.9424 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.03083/1.055, allocations: 18.46 MB / 0.9605 GB, free: 13.06 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01311/1.068, allocations: 5.853 MB / 0.9662 GB, free: 7.113 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02143/1.09, allocations: 7.385 MB / 0.9734 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/1.101, allocations: 5.094 MB / 0.9784 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003342/1.104, allocations: 0.5703 MB / 0.9789 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/1.118, allocations: 4.383 MB / 0.9832 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003523/1.122, allocations: 1.502 MB / 0.9847 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.008809/1.131, allocations: 3.74 MB / 0.9883 GB, free: 392 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02229/1.153, allocations: 10.43 MB / 0.9985 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/1.153, allocations: 4 kB / 0.9985 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.896e-06/1.153, allocations: 0 / 0.9985 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004619/1.154, allocations: 0 / 0.9985 GB, free: 5.926 MB / 0.7012 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.02158/1.175, allocations: 7.482 MB / 1.006 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.175, allocations: 12.03 kB / 1.006 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/1.179, allocations: 0.7803 MB / 1.007 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/1.191, allocations: 5.36 MB / 1.012 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/1.191, allocations: 320 kB / 1.012 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009012/1.192, allocations: 435.9 kB / 1.013 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007759/1.2, allocations: 4.381 MB / 1.017 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.238e-05/1.2, allocations: 11.88 kB / 1.017 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003675/1.2, allocations: 172 kB / 1.017 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/1.2, allocations: 119.9 kB / 1.017 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005428/1.206, allocations: 2.961 MB / 1.02 GB, free: 15.4 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 preOpt removeSimpleEquations (simulation): time 0.3383/1.544, allocations: 25.11 MB / 1.045 GB, free: 292.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/1.547, allocations: 2.76 MB / 1.047 GB, free: 290.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/1.549, allocations: 0.9914 MB / 1.048 GB, free: 289.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002032/1.551, allocations: 3.911 MB / 1.052 GB, free: 285.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/1.551, allocations: 63.61 kB / 1.052 GB, free: 285.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=217): time 5.571e-06/1.551, allocations: 0.5625 kB / 1.052 GB, free: 285.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=217): time 0.01018/1.561, allocations: 4.071 MB / 1.056 GB, free: 284.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/1.561, allocations: 78.98 kB / 1.056 GB, free: 284 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005638/1.567, allocations: 4.298 MB / 1.06 GB, free: 282.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003163/1.567, allocations: 77.95 kB / 1.06 GB, free: 282.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001575/1.569, allocations: 2.771 MB / 1.063 GB, free: 280.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006107/1.569, allocations: 0.7663 MB / 1.064 GB, free: 279.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006393/1.57, allocations: 0.5772 MB / 1.064 GB, free: 279.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.312e-05/1.57, allocations: 305.1 kB / 1.065 GB, free: 279 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/1.571, allocations: 0.8235 MB / 1.066 GB, free: 278.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/1.573, allocations: 1.814 MB / 1.067 GB, free: 277 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/1.576, allocations: 2.512 MB / 1.07 GB, free: 275.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/1.576, allocations: 7.906 kB / 1.07 GB, free: 275.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006911/1.583, allocations: 3.553 MB / 1.073 GB, free: 273.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/1.583, allocations: 15.78 kB / 1.073 GB, free: 273.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/1.583, allocations: 19.75 kB / 1.073 GB, free: 273.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/1.585, allocations: 0.5777 MB / 1.074 GB, free: 273.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/1.587, allocations: 0.5565 MB / 1.074 GB, free: 273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/1.588, allocations: 2.687 MB / 1.077 GB, free: 270.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003587/1.592, allocations: 328.3 kB / 1.077 GB, free: 270.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/1.592, allocations: 142.4 kB / 1.077 GB, free: 270.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002691/1.595, allocations: 1.566 MB / 1.079 GB, free: 269.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001683/1.596, allocations: 1.797 MB / 1.081 GB, free: 267.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003051/1.6, allocations: 2.465 MB / 1.083 GB, free: 266 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.364e-05/1.6, allocations: 6.375 kB / 1.083 GB, free: 266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005881/1.605, allocations: 3.312 MB / 1.086 GB, free: 264.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/1.605, allocations: 15.62 kB / 1.086 GB, free: 264.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/1.605, allocations: 23.31 kB / 1.086 GB, free: 264.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008747/1.606, allocations: 358.8 kB / 1.087 GB, free: 264.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/1.608, allocations: 0.5594 MB / 1.087 GB, free: 264 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006137/1.614, allocations: 8.45 MB / 1.096 GB, free: 256.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/1.619, allocations: 296.1 kB / 1.096 GB, free: 256 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/1.619, allocations: 132 kB / 1.096 GB, free: 255.9 MB / 0.7325 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.0007584/1.62, allocations: 367.8 kB / 1.096 GB, free: 255.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001614/1.621, allocations: 0.5017 MB / 1.097 GB, free: 255 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/1.627, allocations: 3.564 MB / 1.1 GB, free: 251.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.642e-05/1.627, allocations: 35.97 kB / 1.1 GB, free: 251.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.627, allocations: 0 / 1.1 GB, free: 251.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003087/1.63, allocations: 2.442 MB / 1.103 GB, free: 248.9 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.01225/1.642, allocations: 8.2 MB / 1.111 GB, free: 240.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.642, allocations: 0 / 1.111 GB, free: 240.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.643, allocations: 373.4 kB / 1.111 GB, free: 240.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006156/1.644, allocations: 294.8 kB / 1.111 GB, free: 239.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/1.644, allocations: 67.95 kB / 1.111 GB, free: 239.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/1.645, allocations: 2.499 MB / 1.114 GB, free: 237.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.645, allocations: 0 / 1.114 GB, free: 237.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006213/1.652, allocations: 4.332 MB / 1.118 GB, free: 232.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002358/1.654, allocations: 0.8844 MB / 1.119 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007612/1.655, allocations: 44 kB / 1.119 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/1.657, allocations: 123.5 kB / 1.119 GB, free: 231.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/1.657, allocations: 145.8 kB / 1.119 GB, free: 231.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/1.657, allocations: 115.9 kB / 1.119 GB, free: 231.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003562/1.661, allocations: 2.85 MB / 1.122 GB, free: 228.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/1.661, allocations: 0 / 1.122 GB, free: 228.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007921/1.669, allocations: 3.231 MB / 1.125 GB, free: 225.5 MB / 0.7325 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.002608/1.671, allocations: 1.52 MB / 1.127 GB, free: 224.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006421/1.678, allocations: 4.433 MB / 1.131 GB, free: 219.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.678, allocations: 1.312 kB / 1.131 GB, free: 219.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/1.68, allocations: 1.234 MB / 1.132 GB, free: 218.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01094/1.691, allocations: 2.633 MB / 1.135 GB, free: 216.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/1.703, allocations: 9.011 MB / 1.144 GB, free: 207.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/1.705, allocations: 2.87 MB / 1.146 GB, free: 204.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004168/1.709, allocations: 1.158 MB / 1.148 GB, free: 203.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009819/1.71, allocations: 419.2 kB / 1.148 GB, free: 202.8 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/1.71, allocations: 0 / 1.148 GB, free: 202.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.143/1.853, allocations: 104.2 MB / 1.25 GB, free: 99.9 MB / 0.7325 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)