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.001318/0.001318, allocations: 113.7 kB / 17.07 MB, free: 5.961 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.001278/0.001278, allocations: 198.8 kB / 18 MB, free: 5.051 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.344/1.344, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2733/0.2733, allocations: 48.84 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.001556/0.001556, allocations: 71.89 kB / 450.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1088, 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.2853/0.3941, allocations: 70.88 MB / 0.567 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.4094, allocations: 11.89 MB / 0.5786 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000863/0.4103, allocations: 19.28 kB / 0.5786 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.4116, allocations: 419.3 kB / 0.579 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.4127, allocations: 0.5156 MB / 0.5795 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01525/0.4279, allocations: 5.545 MB / 0.5849 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002131/0.4301, allocations: 1.367 MB / 0.5863 GB, free: 9.918 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007604/0.4309, allocations: 0.562 MB / 0.5868 GB, free: 9.551 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007393/0.4316, allocations: 0.5314 MB / 0.5873 GB, free: 9.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007259/0.4324, allocations: 0.5804 MB / 0.5879 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.075e-05/0.4325, allocations: 59.12 kB / 0.5879 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01285/0.4453, allocations: 6.476 MB / 0.5943 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.4456, allocations: 165.2 kB / 0.5944 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007181/0.4463, allocations: 435.5 kB / 0.5948 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.4571, allocations: 4.333 MB / 0.5991 GB, free: 2.297 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4572, allocations: 0 / 0.5991 GB, free: 2.297 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4572, allocations: 0 / 0.5991 GB, free: 2.297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.4572, allocations: 0 / 0.5991 GB, free: 2.297 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.005687/0.4629, allocations: 1.812 MB / 0.6008 GB, free: 444 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.463, allocations: 15.83 kB / 0.6009 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004706/0.4634, allocations: 127.9 kB / 0.601 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009192/0.4644, allocations: 0.5734 MB / 0.6015 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.4644, allocations: 37.69 kB / 0.6016 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.4645, allocations: 48.56 kB / 0.6016 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.4664, allocations: 0.8411 MB / 0.6024 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4664, allocations: 0 / 0.6024 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.4665, allocations: 20 kB / 0.6025 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.4665, allocations: 12 kB / 0.6025 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.4686, allocations: 0.8372 MB / 0.6033 GB, free: 13.85 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.003656/0.4723, allocations: 3.513 MB / 0.6067 GB, free: 9.984 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.4734, allocations: 410.7 kB / 0.6071 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.4739, allocations: 192.7 kB / 0.6073 GB, free: 9.383 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06471/0.5386, allocations: 32.13 MB / 0.6387 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.5387, allocations: 38.56 kB / 0.6387 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005671/0.5393, allocations: 75.5 kB / 0.6388 GB, free: 5.316 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.5393, allocations: 0 / 0.6388 GB, free: 5.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.009068/0.5484, allocations: 1.801 MB / 0.6405 GB, free: 3.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.5484, allocations: 55.41 kB / 0.6406 GB, free: 3.418 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007069/0.5491, allocations: 0.6179 MB / 0.6412 GB, free: 2.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.5492, allocations: 33.7 kB / 0.6412 GB, free: 2.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.5494, allocations: 340 kB / 0.6416 GB, free: 2.414 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.085e-05/0.5495, allocations: 110.4 kB / 0.6417 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.5497, allocations: 81.91 kB / 0.6417 GB, free: 2.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5498, allocations: 321.9 kB / 0.642 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.5502, allocations: 162.1 kB / 0.6422 GB, free: 1.734 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.5507, allocations: 210.3 kB / 0.6424 GB, free: 1.512 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008636/0.5515, allocations: 388.9 kB / 0.6428 GB, free: 1.113 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5515, allocations: 0 / 0.6428 GB, free: 1.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001463/0.553, allocations: 0.6296 MB / 0.6434 GB, free: 484 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.553, allocations: 7.984 kB / 0.6434 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.5531, allocations: 4 kB / 0.6434 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008599/0.5617, allocations: 1.183 MB / 0.6446 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.5619, allocations: 47.91 kB / 0.6446 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.5638, allocations: 0.9619 MB / 0.6455 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006403/0.5644, allocations: 25.22 kB / 0.6456 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.5645, allocations: 19.98 kB / 0.6456 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006041/0.5651, allocations: 268.7 kB / 0.6458 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004196/0.5655, allocations: 216.7 kB / 0.646 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007889/0.5663, allocations: 385.3 kB / 0.6464 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/0.5664, allocations: 4 kB / 0.6464 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.001312/0.5677, allocations: 0.5324 MB / 0.6469 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5677, allocations: 7.906 kB / 0.6469 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5677, allocations: 5.875 kB / 0.647 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003129/0.568, allocations: 68.78 kB / 0.647 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.5685, allocations: 91.95 kB / 0.6471 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.57, allocations: 1.571 MB / 0.6486 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.5705, allocations: 27.91 kB / 0.6487 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.5706, allocations: 20 kB / 0.6487 GB, free: 10.82 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.0001908/0.5708, allocations: 196.2 kB / 0.6489 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.5709, allocations: 71.16 kB / 0.6489 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/0.5737, allocations: 2.031 MB / 0.6509 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/0.5737, allocations: 27.91 kB / 0.651 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.5737, allocations: 3.938 kB / 0.651 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.5737, allocations: 3.984 kB / 0.651 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.5748, allocations: 0.9348 MB / 0.6519 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5748, allocations: 8 kB / 0.6519 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.575, allocations: 39.95 kB / 0.6519 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003333/0.5783, allocations: 1.393 MB / 0.6533 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.5784, allocations: 12 kB / 0.6533 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.5806, allocations: 2.064 MB / 0.6553 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5806, allocations: 3.984 kB / 0.6553 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.5828, allocations: 1.751 MB / 0.657 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.583, allocations: 176.8 kB / 0.6572 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.741e-05/0.5831, allocations: 8 kB / 0.6572 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.5835, allocations: 27.97 kB / 0.6572 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.5836, allocations: 32.39 kB / 0.6573 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.5836, allocations: 15.98 kB / 0.6573 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005139/0.5842, allocations: 447 kB / 0.6577 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5842, allocations: 0 / 0.6577 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003245/0.5874, allocations: 1.097 MB / 0.6588 GB, free: 356 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.003738/0.5912, allocations: 1.007 MB / 0.6597 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002957/0.5941, allocations: 0.9116 MB / 0.6606 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5942, allocations: 0.5625 kB / 0.6606 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.5952, allocations: 495.8 kB / 0.6611 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.5973, allocations: 430.9 kB / 0.6615 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.5996, allocations: 1.587 MB / 0.6631 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.6002, allocations: 0.9908 MB / 0.664 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005415/0.6007, allocations: 272.8 kB / 0.6643 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.163e-05/0.6008, allocations: 43.44 kB / 0.6643 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.6009, allocations: 4 kB / 0.6643 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of Templates: time 0.06122/0.6621, allocations: 44.18 MB / 0.7075 GB, free: 14.29 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)