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/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 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 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 116.2 kB / 17.07 MB, free: 6.004 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.001388/0.001388, allocations: 190.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.26/0.26, allocations: 48.83 MB / 320.1 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 67.89 kB / 450.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1142, allocations: 59.16 MB / 0.4977 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2679/0.3822, allocations: 77.62 MB / 0.5735 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.3958, allocations: 11.09 MB / 0.5844 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005924/0.3964, allocations: 23.62 kB / 0.5844 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.3975, allocations: 406.9 kB / 0.5848 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.3986, allocations: 0.5041 MB / 0.5853 GB, free: 9.918 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01465/0.4132, allocations: 5.863 MB / 0.591 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.415, allocations: 1.374 MB / 0.5923 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005534/0.4156, allocations: 407.6 kB / 0.5927 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006007/0.4162, allocations: 490.8 kB / 0.5932 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.4167, allocations: 478.9 kB / 0.5937 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.21e-05/0.4168, allocations: 42.78 kB / 0.5937 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0109/0.4277, allocations: 6.345 MB / 0.5999 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.4279, allocations: 126.5 kB / 0.6 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005482/0.4284, allocations: 399.3 kB / 0.6004 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007264/0.4357, allocations: 4.108 MB / 0.6044 GB, free: 12.85 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4357, allocations: 3.984 kB / 0.6044 GB, free: 12.85 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4357, allocations: 4 kB / 0.6044 GB, free: 12.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.4358, allocations: 0 / 0.6044 GB, free: 12.84 MB / 462.1 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.0032/0.439, allocations: 1.48 MB / 0.6059 GB, free: 11.31 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.439, allocations: 11.89 kB / 0.6059 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.4394, allocations: 123.8 kB / 0.606 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007381/0.4401, allocations: 0.5228 MB / 0.6065 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.4402, allocations: 37.38 kB / 0.6065 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.4402, allocations: 48.56 kB / 0.6066 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.4412, allocations: 0.6186 MB / 0.6072 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4413, allocations: 0 / 0.6072 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.4413, allocations: 24 kB / 0.6072 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.4413, allocations: 12 kB / 0.6072 GB, free: 9.812 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007496/0.4421, allocations: 360.3 kB / 0.6076 GB, free: 9.461 MB / 462.1 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.003064/0.4452, allocations: 3.544 MB / 0.611 GB, free: 5.645 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.4457, allocations: 182.4 kB / 0.6112 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.4458, allocations: 59.52 kB / 0.6113 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06207/0.5078, allocations: 32.12 MB / 0.6426 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.5079, allocations: 38.5 kB / 0.6427 GB, free: 1.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.064e-06/0.5079, allocations: 0 / 0.6427 GB, free: 1.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001221/0.5092, allocations: 360.4 kB / 0.643 GB, free: 1.012 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/0.5092, allocations: 136.5 kB / 0.6431 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007917/0.51, allocations: 0.7356 MB / 0.6438 GB, free: 108 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.5101, allocations: 25.7 kB / 0.6439 GB, free: 76 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.5104, allocations: 359.8 kB / 0.6442 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.5104, allocations: 39.39 kB / 0.6443 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.5105, allocations: 53.69 kB / 0.6443 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.5106, allocations: 310 kB / 0.6446 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.5107, allocations: 60.83 kB / 0.6447 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.5109, allocations: 126.2 kB / 0.6448 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.5112, allocations: 194.9 kB / 0.645 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5112, allocations: 0 / 0.645 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004621/0.5116, allocations: 296.3 kB / 0.6452 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5117, allocations: 4 kB / 0.6453 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5117, allocations: 4 kB / 0.6453 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.5117, allocations: 4 kB / 0.6453 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.512, allocations: 51.91 kB / 0.6453 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.512, allocations: 16.17 kB / 0.6453 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.5124, allocations: 47.34 kB / 0.6454 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.5124, allocations: 16 kB / 0.6454 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001893/0.5126, allocations: 161.4 kB / 0.6455 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001556/0.5128, allocations: 179.9 kB / 0.6457 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002579/0.5131, allocations: 251.4 kB / 0.646 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.5131, allocations: 0 / 0.646 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004287/0.5135, allocations: 300.1 kB / 0.6462 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.5135, allocations: 11.91 kB / 0.6462 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5135, allocations: 8 kB / 0.6463 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-06/0.5135, allocations: 4.719 kB / 0.6463 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.5138, allocations: 51.91 kB / 0.6463 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.5138, allocations: 15.94 kB / 0.6463 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.5141, allocations: 19.84 kB / 0.6463 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.5142, allocations: 19.98 kB / 0.6464 GB, free: 13.27 MB / 0.4981 GB 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.000102/0.5143, allocations: 192.1 kB / 0.6465 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.5144, allocations: 79.06 kB / 0.6466 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005798/0.515, allocations: 0.5012 MB / 0.6471 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.515, allocations: 4 kB / 0.6471 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5151, allocations: 0.875 kB / 0.6471 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5151, allocations: 4 kB / 0.6471 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008307/0.5159, allocations: 0.6128 MB / 0.6477 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5159, allocations: 0 / 0.6477 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-05/0.516, allocations: 19.98 kB / 0.6477 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.516, allocations: 4 kB / 0.6477 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.516, allocations: 6.5 kB / 0.6477 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.516, allocations: 0 / 0.6477 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.516, allocations: 4.375 kB / 0.6478 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.5164, allocations: 0.5126 MB / 0.6483 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.5166, allocations: 148.1 kB / 0.6484 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.5167, allocations: 35.53 kB / 0.6484 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.5171, allocations: 4 kB / 0.6484 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.5171, allocations: 7.984 kB / 0.6484 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.5171, allocations: 8 kB / 0.6484 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008485/0.5179, allocations: 0.7267 MB / 0.6492 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.518, allocations: 0 / 0.6492 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002668/0.5206, allocations: 1.05 MB / 0.6502 GB, free: 9.254 MB / 0.4981 GB 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.003449/0.5241, allocations: 0.981 MB / 0.6511 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.5245, allocations: 201.5 kB / 0.6513 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5246, allocations: 12 kB / 0.6513 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.885e-05/0.5246, allocations: 36.38 kB / 0.6514 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.527, allocations: 461.8 kB / 0.6518 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.5284, allocations: 1.085 MB / 0.6529 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.5288, allocations: 0.933 MB / 0.6538 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004624/0.5293, allocations: 293.1 kB / 0.6541 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/0.5294, allocations: 55.42 kB / 0.6541 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.5294, allocations: 0 / 0.6541 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of Templates: time 0.0518/0.5812, allocations: 39.74 MB / 0.6929 GB, free: 13.33 MB / 0.545 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)