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.001407/0.001407, allocations: 109.3 kB / 17.69 MB, free: 5.496 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.00149/0.00149, allocations: 192.1 kB / 18.63 MB, free: 4.574 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.456/1.456, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2846/0.2846, allocations: 48.84 MB / 320.7 MB, free: 11.04 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.001462/0.001462, allocations: 63.91 kB / 451.1 MB, free: 8.594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1235, allocations: 59.16 MB / 0.4983 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.3291/0.4527, allocations: 77.62 MB / 0.5741 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.4675, allocations: 11.09 MB / 0.585 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.4686, allocations: 23.66 kB / 0.585 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.4701, allocations: 405.6 kB / 0.5854 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.4719, allocations: 0.5044 MB / 0.5859 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01967/0.4916, allocations: 5.868 MB / 0.5916 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002597/0.4942, allocations: 1.369 MB / 0.5929 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009802/0.4953, allocations: 407.8 kB / 0.5933 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.4966, allocations: 472.9 kB / 0.5938 GB, free: 4.488 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.4978, allocations: 485.2 kB / 0.5942 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.4979, allocations: 42.81 kB / 0.5943 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01446/0.5124, allocations: 6.356 MB / 0.6005 GB, free: 0.918 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.5127, allocations: 121.4 kB / 0.6006 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007232/0.5134, allocations: 398.6 kB / 0.601 GB, free: 0.582 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.5251, allocations: 4.106 MB / 0.605 GB, free: 12.92 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.5252, allocations: 0 / 0.605 GB, free: 12.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5252, allocations: 0 / 0.605 GB, free: 12.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.359e-05/0.5252, allocations: 0 / 0.605 GB, free: 12.92 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.004431/0.5297, allocations: 1.496 MB / 0.6064 GB, free: 11.37 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.5297, allocations: 11.89 kB / 0.6065 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004985/0.5302, allocations: 123.9 kB / 0.6066 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.5313, allocations: 0.515 MB / 0.6071 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.5314, allocations: 39.86 kB / 0.6071 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.5314, allocations: 48.56 kB / 0.6072 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.5326, allocations: 0.6126 MB / 0.6078 GB, free: 9.922 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.5326, allocations: 5.438 kB / 0.6078 GB, free: 9.918 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.5327, allocations: 24 kB / 0.6078 GB, free: 9.895 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.5327, allocations: 12 kB / 0.6078 GB, free: 9.883 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008028/0.5335, allocations: 356.3 kB / 0.6081 GB, free: 9.535 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.003882/0.5374, allocations: 3.549 MB / 0.6116 GB, free: 5.715 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.5379, allocations: 178.4 kB / 0.6118 GB, free: 5.504 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.735e-05/0.538, allocations: 67.44 kB / 0.6118 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06688/0.6049, allocations: 32.12 MB / 0.6432 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.605, allocations: 34.56 kB / 0.6432 GB, free: 1.449 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.705e-06/0.605, allocations: 0 / 0.6432 GB, free: 1.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001387/0.6064, allocations: 357.1 kB / 0.6436 GB, free: 1.094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.6065, allocations: 132.5 kB / 0.6437 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.6075, allocations: 0.7395 MB / 0.6444 GB, free: 192 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.6076, allocations: 25.7 kB / 0.6445 GB, free: 160 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.6079, allocations: 355.9 kB / 0.6448 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.608, allocations: 43.39 kB / 0.6448 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.106e-05/0.6081, allocations: 53.62 kB / 0.6449 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6082, allocations: 317.9 kB / 0.6452 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.6083, allocations: 56.84 kB / 0.6452 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.6085, allocations: 122.3 kB / 0.6454 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.6088, allocations: 202 kB / 0.6456 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6088, allocations: 0 / 0.6456 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005681/0.6094, allocations: 296.4 kB / 0.6458 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.6094, allocations: 8 kB / 0.6458 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6094, allocations: 0 / 0.6458 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.6095, allocations: 4 kB / 0.6458 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.6098, allocations: 60.64 kB / 0.6459 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.6098, allocations: 4 kB / 0.6459 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/0.6103, allocations: 47.59 kB / 0.646 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.6103, allocations: 16 kB / 0.646 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002273/0.6105, allocations: 164.1 kB / 0.6461 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000181/0.6107, allocations: 179.8 kB / 0.6463 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003055/0.611, allocations: 251.4 kB / 0.6465 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.6111, allocations: 0 / 0.6465 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005207/0.6116, allocations: 300.4 kB / 0.6468 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6116, allocations: 7.906 kB / 0.6468 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6116, allocations: 8.875 kB / 0.6468 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/0.6116, allocations: 4 kB / 0.6468 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.6119, allocations: 59.91 kB / 0.6469 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6119, allocations: 8.469 kB / 0.6469 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.6123, allocations: 23.77 kB / 0.6469 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.6123, allocations: 20 kB / 0.6469 GB, free: 13.35 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.0001369/0.6125, allocations: 192.3 kB / 0.6471 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.6127, allocations: 79.06 kB / 0.6472 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006749/0.6134, allocations: 0.5051 MB / 0.6477 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.6134, allocations: 2.75 kB / 0.6477 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.6134, allocations: 4 kB / 0.6477 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6134, allocations: 4 kB / 0.6477 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009024/0.6143, allocations: 0.6128 MB / 0.6483 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6143, allocations: 0 / 0.6483 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-05/0.6144, allocations: 23.98 kB / 0.6483 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.6144, allocations: 4 kB / 0.6483 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.6144, allocations: 0 / 0.6483 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.6145, allocations: 7.984 kB / 0.6483 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6145, allocations: 3.938 kB / 0.6483 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.6149, allocations: 0.5049 MB / 0.6488 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.6151, allocations: 144.2 kB / 0.649 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.6153, allocations: 39.52 kB / 0.649 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.6157, allocations: 4 kB / 0.649 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.6157, allocations: 4 kB / 0.649 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.6157, allocations: 15.92 kB / 0.649 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009467/0.6167, allocations: 0.7267 MB / 0.6497 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6167, allocations: 4 kB / 0.6498 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003418/0.6201, allocations: 1.042 MB / 0.6508 GB, free: 9.324 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.004432/0.6246, allocations: 0.9699 MB / 0.6517 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006/0.6252, allocations: 216.8 kB / 0.6519 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.6252, allocations: 0.5625 kB / 0.6519 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.535e-05/0.6253, allocations: 39.86 kB / 0.652 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/0.628, allocations: 461.5 kB / 0.6524 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.63, allocations: 1.122 MB / 0.6535 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.6305, allocations: 0.933 MB / 0.6544 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.6307, allocations: 51.42 kB / 0.6545 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.6307, allocations: 0 / 0.6545 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of Templates: time 0.03917/0.6699, allocations: 24.34 MB / 0.6782 GB, free: 13.08 MB / 0.5294 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)