Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.1 MB / 223.1 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 95.92 kB / 270.5 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3589/0.3589, allocations: 48.83 MB / 366.7 MB, free: 46.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 43.92 kB / 436.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.095/0.09602, allocations: 59.16 MB / 495.8 MB, free: 132 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2218/0.3179, allocations: 78.69 MB / 0.561 GB, free: 10.15 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.3294, allocations: 11.93 MB / 0.5726 GB, free: 1.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006746/0.3301, allocations: 23.19 kB / 0.5727 GB, free: 1.719 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009016/0.331, allocations: 335.3 kB / 0.573 GB, free: 1.438 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008568/0.3319, allocations: 494.2 kB / 0.5734 GB, free: 1.031 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01309/0.345, allocations: 4.811 MB / 0.5781 GB, free: 13.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.3471, allocations: 1.873 MB / 0.58 GB, free: 12.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004998/0.3477, allocations: 341.2 kB / 0.5803 GB, free: 12.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006155/0.3483, allocations: 449.1 kB / 0.5807 GB, free: 12.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005685/0.3489, allocations: 482.5 kB / 0.5812 GB, free: 11.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.3489, allocations: 34.47 kB / 0.5812 GB, free: 11.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/0.36, allocations: 6.289 MB / 0.5874 GB, free: 8.547 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.3602, allocations: 105.5 kB / 0.5875 GB, free: 8.465 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006091/0.3609, allocations: 377.6 kB / 0.5878 GB, free: 8.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007463/0.3683, allocations: 4.108 MB / 0.5918 GB, free: 5.016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3684, allocations: 0 / 0.5918 GB, free: 5.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.3684, allocations: 0 / 0.5918 GB, free: 5.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.3684, allocations: 0 / 0.5918 GB, free: 5.016 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002989/0.3714, allocations: 1.484 MB / 0.5933 GB, free: 3.484 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3714, allocations: 8.031 kB / 0.5933 GB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.3718, allocations: 120.4 kB / 0.5934 GB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/0.3724, allocations: 0.5033 MB / 0.5939 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.3724, allocations: 41.31 kB / 0.5939 GB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.3725, allocations: 48.56 kB / 0.594 GB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009786/0.3735, allocations: 0.6233 MB / 0.5946 GB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3735, allocations: 3.938 kB / 0.5946 GB, free: 2.035 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.741e-05/0.3736, allocations: 27.98 kB / 0.5946 GB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.3736, allocations: 12.94 kB / 0.5946 GB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007152/0.3743, allocations: 359 kB / 0.595 GB, free: 1.648 MB / 410.7 MB 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.002991/0.3773, allocations: 3.547 MB / 0.5984 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.3778, allocations: 186.3 kB / 0.5986 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3779, allocations: 63.52 kB / 0.5987 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06493/0.4428, allocations: 31.99 MB / 0.6299 GB, free: 9.738 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.4429, allocations: 38.5 kB / 0.6299 GB, free: 9.691 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 2.194e-06/0.4429, allocations: 0 / 0.6299 GB, free: 9.691 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.001179/0.4441, allocations: 356.5 kB / 0.6303 GB, free: 9.336 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.4442, allocations: 136.5 kB / 0.6304 GB, free: 9.172 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008156/0.445, allocations: 0.7279 MB / 0.6311 GB, free: 8.438 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.445, allocations: 29.7 kB / 0.6312 GB, free: 8.402 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.4453, allocations: 352 kB / 0.6315 GB, free: 8.055 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.4453, allocations: 51.3 kB / 0.6315 GB, free: 8.004 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.4454, allocations: 49.69 kB / 0.6316 GB, free: 7.949 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.4455, allocations: 310 kB / 0.6319 GB, free: 7.641 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.4456, allocations: 60.83 kB / 0.6319 GB, free: 7.578 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.4458, allocations: 130.9 kB / 0.6321 GB, free: 7.414 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.4461, allocations: 194.8 kB / 0.6323 GB, free: 7.188 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4461, allocations: 0.75 kB / 0.6323 GB, free: 7.188 MB / 458.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004985/0.4466, allocations: 296.5 kB / 0.6325 GB, free: 6.891 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4466, allocations: 4 kB / 0.6325 GB, free: 6.887 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.006e-06/0.4466, allocations: 7.938 kB / 0.6325 GB, free: 6.879 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.4467, allocations: 4 kB / 0.6326 GB, free: 6.875 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.447, allocations: 55.91 kB / 0.6326 GB, free: 6.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.447, allocations: 7.984 kB / 0.6326 GB, free: 6.812 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.4474, allocations: 56.75 kB / 0.6327 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.4475, allocations: 19.98 kB / 0.6327 GB, free: 6.738 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001984/0.4477, allocations: 160.1 kB / 0.6328 GB, free: 6.578 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001779/0.4479, allocations: 181.7 kB / 0.633 GB, free: 6.332 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002671/0.4481, allocations: 243.4 kB / 0.6332 GB, free: 6.023 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.4482, allocations: 0 / 0.6332 GB, free: 6.023 MB / 458.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004133/0.4486, allocations: 300.3 kB / 0.6335 GB, free: 5.723 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.4486, allocations: 8 kB / 0.6335 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.4486, allocations: 4 kB / 0.6335 GB, free: 5.711 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.4486, allocations: 8 kB / 0.6335 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.4488, allocations: 55.91 kB / 0.6336 GB, free: 5.648 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4489, allocations: 8.547 kB / 0.6336 GB, free: 5.641 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.4492, allocations: 27.89 kB / 0.6336 GB, free: 5.613 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.4493, allocations: 19.94 kB / 0.6337 GB, free: 5.594 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.4494, allocations: 196.1 kB / 0.6338 GB, free: 5.395 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.4495, allocations: 79.06 kB / 0.6339 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006527/0.4502, allocations: 0.5025 MB / 0.6344 GB, free: 4.809 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4502, allocations: 4 kB / 0.6344 GB, free: 4.805 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4502, allocations: 1.562 kB / 0.6344 GB, free: 4.805 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.4503, allocations: 4.031 kB / 0.6344 GB, free: 4.801 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008087/0.4511, allocations: 0.6166 MB / 0.635 GB, free: 4.137 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4511, allocations: 0 / 0.635 GB, free: 4.137 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.408e-05/0.4512, allocations: 27.92 kB / 0.635 GB, free: 4.109 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.4512, allocations: 0 / 0.635 GB, free: 4.109 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.4512, allocations: 4 kB / 0.6351 GB, free: 4.105 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.4512, allocations: 7.984 kB / 0.6351 GB, free: 4.098 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4512, allocations: 0 / 0.6351 GB, free: 4.098 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008853/0.4521, allocations: 1.286 MB / 0.6363 GB, free: 2.754 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.4523, allocations: 160.1 kB / 0.6365 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-05/0.4524, allocations: 33.84 kB / 0.6365 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.4528, allocations: 15.84 kB / 0.6365 GB, free: 2.531 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.4528, allocations: 11.92 kB / 0.6365 GB, free: 2.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.4528, allocations: 8 kB / 0.6365 GB, free: 2.512 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008222/0.4536, allocations: 0.7306 MB / 0.6372 GB, free: 1.773 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4536, allocations: 3.938 kB / 0.6373 GB, free: 1.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003025/0.4567, allocations: 1.077 MB / 0.6383 GB, free: 0.6914 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003406/0.4601, allocations: 0.9865 MB / 0.6393 GB, free: 15.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004367/0.4605, allocations: 204.9 kB / 0.6395 GB, free: 15.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4606, allocations: 0.5625 kB / 0.6395 GB, free: 15.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.063e-05/0.4606, allocations: 39.92 kB / 0.6395 GB, free: 15.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.4632, allocations: 445.4 kB / 0.6399 GB, free: 15.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.4648, allocations: 1.451 MB / 0.6413 GB, free: 13.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.4653, allocations: 0.933 MB / 0.6423 GB, free: 12.56 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005101/0.4658, allocations: 297.4 kB / 0.6425 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-05/0.4659, allocations: 55.42 kB / 0.6426 GB, free: 12.22 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4659, allocations: 0 / 0.6426 GB, free: 12.22 MB / 474.7 MB Notification: Performance of Templates: time 0.05068/0.5166, allocations: 39.55 MB / 0.6812 GB, free: 4.672 MB / 0.4948 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1)