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.001592/0.001591, allocations: 108.9 kB / 17.06 MB, free: 5.969 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.001806/0.001807, allocations: 196 kB / 18.01 MB, free: 5.055 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.403/1.403, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3151/0.3151, allocations: 48.85 MB / 320.1 MB, free: 11 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.001389/0.001389, allocations: 67.91 kB / 450.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1358, allocations: 59.17 MB / 0.4978 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.3577/0.4936, allocations: 70.88 MB / 0.567 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01795/0.5116, allocations: 11.89 MB / 0.5786 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.5132, allocations: 18.66 kB / 0.5786 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.5152, allocations: 415 kB / 0.579 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002525/0.5178, allocations: 0.5139 MB / 0.5795 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02099/0.5388, allocations: 5.553 MB / 0.5849 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002791/0.5416, allocations: 1.363 MB / 0.5863 GB, free: 9.945 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.543, allocations: 0.5646 MB / 0.5868 GB, free: 9.578 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.5445, allocations: 0.519 MB / 0.5873 GB, free: 9.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.546, allocations: 0.5794 MB / 0.5879 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002582/0.5462, allocations: 59.34 kB / 0.5879 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01666/0.5629, allocations: 6.484 MB / 0.5943 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003891/0.5633, allocations: 157.3 kB / 0.5944 GB, free: 5.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.5646, allocations: 439.6 kB / 0.5948 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01372/0.5783, allocations: 4.342 MB / 0.5991 GB, free: 2.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.5784, allocations: 0 / 0.5991 GB, free: 2.332 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5784, allocations: 0 / 0.5991 GB, free: 2.332 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.557e-05/0.5784, allocations: 0 / 0.5991 GB, free: 2.332 MB / 446.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.007609/0.5861, allocations: 1.851 MB / 0.6009 GB, free: 436 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.5861, allocations: 11.89 kB / 0.6009 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006901/0.5868, allocations: 142 kB / 0.601 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.5882, allocations: 0.5817 MB / 0.6016 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.5882, allocations: 37.69 kB / 0.6016 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5883, allocations: 50.62 kB / 0.6017 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.5904, allocations: 0.8372 MB / 0.6025 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.5905, allocations: 0 / 0.6025 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/0.5905, allocations: 20 kB / 0.6025 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.5906, allocations: 16 kB / 0.6025 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.5928, allocations: 0.8313 MB / 0.6033 GB, free: 13.83 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.004925/0.5977, allocations: 3.528 MB / 0.6068 GB, free: 9.949 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.599, allocations: 412.3 kB / 0.6072 GB, free: 9.539 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.5995, allocations: 196.8 kB / 0.6074 GB, free: 9.344 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06626/0.6657, allocations: 32.13 MB / 0.6387 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.6658, allocations: 42.55 kB / 0.6388 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006389/0.6665, allocations: 76.69 kB / 0.6389 GB, free: 5.277 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/0.6665, allocations: 0 / 0.6389 GB, free: 5.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.008768/0.6752, allocations: 1.802 MB / 0.6406 GB, free: 3.445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.6753, allocations: 59.41 kB / 0.6407 GB, free: 3.375 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008134/0.6761, allocations: 0.6179 MB / 0.6413 GB, free: 2.746 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.6762, allocations: 33.7 kB / 0.6413 GB, free: 2.707 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.6765, allocations: 344.3 kB / 0.6416 GB, free: 2.367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.6766, allocations: 119 kB / 0.6417 GB, free: 2.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.6768, allocations: 73.98 kB / 0.6418 GB, free: 2.168 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6769, allocations: 325.9 kB / 0.6421 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.6774, allocations: 166.1 kB / 0.6423 GB, free: 1.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.6778, allocations: 206.3 kB / 0.6425 GB, free: 1.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009028/0.6787, allocations: 382.1 kB / 0.6429 GB, free: 1.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.6788, allocations: 3.984 kB / 0.6429 GB, free: 1.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001544/0.6803, allocations: 0.6378 MB / 0.6435 GB, free: 428 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.6803, allocations: 8 kB / 0.6435 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6804, allocations: 0 / 0.6435 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007934/0.6883, allocations: 1.183 MB / 0.6446 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.6885, allocations: 47.89 kB / 0.6447 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.6904, allocations: 0.962 MB / 0.6456 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006288/0.6911, allocations: 24.03 kB / 0.6456 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.6912, allocations: 19.98 kB / 0.6457 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005712/0.6917, allocations: 272.7 kB / 0.6459 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004702/0.6922, allocations: 212.7 kB / 0.6461 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008433/0.6931, allocations: 390.2 kB / 0.6465 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.6931, allocations: 3.938 kB / 0.6465 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.001332/0.6944, allocations: 0.5329 MB / 0.647 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.6944, allocations: 11.91 kB / 0.647 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.6945, allocations: 0 / 0.647 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003015/0.6948, allocations: 64.8 kB / 0.6471 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.6952, allocations: 92.7 kB / 0.6472 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.6968, allocations: 1.576 MB / 0.6487 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/0.6974, allocations: 23.97 kB / 0.6487 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.6974, allocations: 23.97 kB / 0.6488 GB, free: 10.76 MB / 0.4981 GB 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.0001899/0.6976, allocations: 196.2 kB / 0.649 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.6978, allocations: 79.53 kB / 0.649 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/0.7008, allocations: 2.027 MB / 0.651 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.7009, allocations: 19.92 kB / 0.651 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.7009, allocations: 3.984 kB / 0.651 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.7009, allocations: 144 / 0.651 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.7024, allocations: 0.9505 MB / 0.652 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.7024, allocations: 0 / 0.652 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.7026, allocations: 39.95 kB / 0.652 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003414/0.706, allocations: 1.397 MB / 0.6534 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.7061, allocations: 15.98 kB / 0.6534 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002498/0.7086, allocations: 2.053 MB / 0.6554 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7086, allocations: 9.75 kB / 0.6554 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/0.7113, allocations: 1.756 MB / 0.6571 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.7117, allocations: 188.2 kB / 0.6573 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.7118, allocations: 15.94 kB / 0.6573 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.7123, allocations: 23.97 kB / 0.6573 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.7124, allocations: 32.39 kB / 0.6574 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.7124, allocations: 16 kB / 0.6574 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005485/0.713, allocations: 451 kB / 0.6578 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.713, allocations: 0 / 0.6578 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003771/0.7168, allocations: 1.1 MB / 0.6589 GB, free: 268 kB / 0.4981 GB 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.005137/0.7219, allocations: 1.007 MB / 0.6599 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002877/0.7248, allocations: 0.9154 MB / 0.6608 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7248, allocations: 4.5 kB / 0.6608 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.7259, allocations: 0.4958 MB / 0.6612 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.7283, allocations: 418.4 kB / 0.6616 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.7311, allocations: 1.621 MB / 0.6632 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/0.7317, allocations: 0.9908 MB / 0.6642 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006182/0.7324, allocations: 268.8 kB / 0.6645 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.22e-05/0.7325, allocations: 39.44 kB / 0.6645 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of SimCode: time 6.82e-07/0.7325, allocations: 4 kB / 0.6645 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.07124/0.8037, allocations: 44.19 MB / 0.7076 GB, free: 14.16 MB / 0.5606 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile (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)