Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000922/0.000922, allocations: 90.52 kB / 16.65 MB, free: 6.59 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.001155/0.001155, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.449/1.449, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2827/0.2827, allocations: 48.78 MB / 320.8 MB, free: 11.12 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.00053/0.00053, allocations: 14.86 kB / 391.8 MB, free: 50.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09075, allocations: 60.27 MB / 452.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.06833/0.1591, allocations: 70.65 MB / 0.5105 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.1745, allocations: 12.51 MB / 0.5227 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009475/0.1754, allocations: 19.88 kB / 0.5227 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.1767, allocations: 346 kB / 0.523 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.1781, allocations: 0.4893 MB / 0.5235 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01517/0.1933, allocations: 4.532 MB / 0.5279 GB, free: 360 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2161/0.4094, allocations: 1.814 MB / 0.5297 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008255/0.4103, allocations: 487.8 kB / 0.5302 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007487/0.4111, allocations: 482 kB / 0.5306 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006858/0.4117, allocations: 0.5724 MB / 0.5312 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.907e-05/0.4118, allocations: 40.45 kB / 0.5312 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01265/0.4245, allocations: 6.404 MB / 0.5375 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.4248, allocations: 137.5 kB / 0.5376 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000746/0.4255, allocations: 438.7 kB / 0.538 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008614/0.4342, allocations: 4.287 MB / 0.5422 GB, free: 11.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4342, allocations: 0 / 0.5422 GB, free: 11.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4342, allocations: 2.844 kB / 0.5422 GB, free: 11.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.4342, allocations: 0 / 0.5422 GB, free: 11.02 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.006105/0.4403, allocations: 1.66 MB / 0.5438 GB, free: 10.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.4404, allocations: 9.625 kB / 0.5439 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/0.4409, allocations: 130.8 kB / 0.544 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.4415, allocations: 0.5582 MB / 0.5445 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.4416, allocations: 39.84 kB / 0.5446 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.4417, allocations: 48.12 kB / 0.5446 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.4434, allocations: 0.8622 MB / 0.5455 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.4434, allocations: 1.469 kB / 0.5455 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/0.4435, allocations: 20.5 kB / 0.5455 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.4435, allocations: 13.03 kB / 0.5455 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.4455, allocations: 0.862 MB / 0.5463 GB, free: 9.746 MB / 414.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.003123/0.4486, allocations: 3.547 MB / 0.5498 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.4497, allocations: 423 kB / 0.5502 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.4501, allocations: 221.3 kB / 0.5504 GB, free: 7.152 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06226/0.5124, allocations: 32.3 MB / 0.5819 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.5125, allocations: 37.03 kB / 0.582 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001021/0.5135, allocations: 103.1 kB / 0.5821 GB, free: 15.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 5.29e-06/0.5136, allocations: 7.984 kB / 0.5821 GB, free: 15.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.009192/0.5227, allocations: 1.864 MB / 0.5839 GB, free: 14.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.5228, allocations: 58.77 kB / 0.584 GB, free: 14.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009663/0.5238, allocations: 0.6238 MB / 0.5846 GB, free: 14.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.5239, allocations: 32.52 kB / 0.5846 GB, free: 14.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.5241, allocations: 336.1 kB / 0.5849 GB, free: 14.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.5243, allocations: 111.8 kB / 0.585 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.5243, allocations: 36.48 kB / 0.5851 GB, free: 14.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5245, allocations: 320 kB / 0.5854 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.5249, allocations: 171.8 kB / 0.5855 GB, free: 13.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.5253, allocations: 226.5 kB / 0.5858 GB, free: 13.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000861/0.5262, allocations: 423.1 kB / 0.5862 GB, free: 13.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5262, allocations: 0 / 0.5862 GB, free: 13.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001518/0.5277, allocations: 0.6625 MB / 0.5868 GB, free: 13.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.937e-05/0.5278, allocations: 125.4 kB / 0.5869 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.5279, allocations: 10.08 kB / 0.5869 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008158/0.536, allocations: 1.198 MB / 0.5881 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.5363, allocations: 62.17 kB / 0.5882 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.5383, allocations: 0.9613 MB / 0.5891 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008742/0.5392, allocations: 58.39 kB / 0.5892 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.5392, allocations: 19.77 kB / 0.5892 GB, free: 12.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.5393, allocations: 2.469 kB / 0.5892 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/0.5404, allocations: 465.3 kB / 0.5896 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5405, allocations: 0 / 0.5896 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/0.5408, allocations: 69.83 kB / 0.5897 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.5412, allocations: 97.77 kB / 0.5898 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.5427, allocations: 1.451 MB / 0.5912 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007913/0.5435, allocations: 47.53 kB / 0.5912 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.5436, allocations: 23.67 kB / 0.5913 GB, free: 10.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004017/0.544, allocations: 246.6 kB / 0.5915 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.5442, allocations: 71.16 kB / 0.5916 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/0.5472, allocations: 2.075 MB / 0.5936 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.5472, allocations: 20.47 kB / 0.5936 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5472, allocations: 5.484 kB / 0.5936 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.5472, allocations: 3.938 kB / 0.5936 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.5485, allocations: 0.9455 MB / 0.5945 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.5486, allocations: 0 / 0.5945 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.5487, allocations: 47.44 kB / 0.5946 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005845/0.5546, allocations: 2.776 MB / 0.5973 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.5547, allocations: 11.12 kB / 0.5973 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.5569, allocations: 2.064 MB / 0.5993 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5569, allocations: 0 / 0.5993 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.5592, allocations: 1.792 MB / 0.6011 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.5595, allocations: 174.8 kB / 0.6012 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.5597, allocations: 11.12 kB / 0.6013 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005915/0.5603, allocations: 55.61 kB / 0.6013 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/0.5604, allocations: 32.33 kB / 0.6013 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.5605, allocations: 19.8 kB / 0.6014 GB, free: 2.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005399/0.561, allocations: 441.2 kB / 0.6018 GB, free: 2.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.252e-06/0.561, allocations: 0 / 0.6018 GB, free: 2.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004683/0.5657, allocations: 1.1 MB / 0.6029 GB, free: 1.383 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006183/0.5719, allocations: 0.9893 MB / 0.6038 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00278/0.5747, allocations: 0.9684 MB / 0.6048 GB, free: 15.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5747, allocations: 0 / 0.6048 GB, free: 15.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009836/0.5757, allocations: 0.4973 MB / 0.6053 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.5784, allocations: 429.3 kB / 0.6057 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.5811, allocations: 1.985 MB / 0.6076 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/0.5818, allocations: 0.9908 MB / 0.6086 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006576/0.5825, allocations: 272.1 kB / 0.6088 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.207e-05/0.5826, allocations: 39.44 kB / 0.6089 GB, free: 11.95 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5826, allocations: 0 / 0.6089 GB, free: 11.95 MB / 462.1 MB Notification: Performance of Templates: time 0.06511/0.6477, allocations: 42.97 MB / 0.6508 GB, free: 1.188 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) Environment - environmentSimulation: