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.001623/0.001623, allocations: 111.6 kB / 17.06 MB, free: 6 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.001488/0.001488, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.429/1.429, 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.3081/0.3081, allocations: 48.84 MB / 320.1 MB, free: 11.01 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.001502/0.001502, allocations: 67.91 kB / 450.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1464, 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.3762/0.5226, allocations: 70.88 MB / 0.567 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01659/0.5392, allocations: 11.89 MB / 0.5786 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.5404, allocations: 19.47 kB / 0.5786 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.5419, allocations: 412.9 kB / 0.579 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.5438, allocations: 0.5278 MB / 0.5795 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02091/0.5648, allocations: 5.57 MB / 0.5849 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002916/0.5677, allocations: 1.363 MB / 0.5863 GB, free: 9.906 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.569, allocations: 0.5642 MB / 0.5868 GB, free: 9.539 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.5704, allocations: 0.5303 MB / 0.5873 GB, free: 9.258 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.5718, allocations: 0.5815 MB / 0.5879 GB, free: 8.902 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.572, allocations: 59.12 kB / 0.588 GB, free: 8.902 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01728/0.5893, allocations: 6.479 MB / 0.5943 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004019/0.5898, allocations: 162 kB / 0.5945 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.5909, allocations: 439.6 kB / 0.5949 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.6045, allocations: 4.326 MB / 0.5991 GB, free: 2.297 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.6046, allocations: 0 / 0.5991 GB, free: 2.297 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6046, allocations: 4 kB / 0.5991 GB, free: 2.293 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.57e-05/0.6046, allocations: 0 / 0.5991 GB, free: 2.293 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.0065/0.6111, allocations: 1.812 MB / 0.6009 GB, free: 440 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.6112, allocations: 15.89 kB / 0.6009 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005681/0.6118, allocations: 131.8 kB / 0.601 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.6128, allocations: 0.5695 MB / 0.6016 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.6129, allocations: 41.69 kB / 0.6016 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.613, allocations: 48.56 kB / 0.6017 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.6149, allocations: 0.8372 MB / 0.6025 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.6149, allocations: 7.938 kB / 0.6025 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.63e-05/0.615, allocations: 20 kB / 0.6025 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.615, allocations: 12 kB / 0.6025 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.617, allocations: 0.8314 MB / 0.6033 GB, free: 13.84 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.003831/0.6208, allocations: 3.507 MB / 0.6067 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.6219, allocations: 406.6 kB / 0.6071 GB, free: 9.578 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.6224, allocations: 200.7 kB / 0.6073 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06279/0.6852, allocations: 32.13 MB / 0.6387 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.6852, allocations: 38.56 kB / 0.6387 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005767/0.6858, allocations: 83.48 kB / 0.6388 GB, free: 5.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 3.417e-06/0.6858, allocations: 0 / 0.6388 GB, free: 5.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.008419/0.6943, allocations: 1.793 MB / 0.6406 GB, free: 3.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.6944, allocations: 59.39 kB / 0.6406 GB, free: 3.414 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006777/0.695, allocations: 0.6218 MB / 0.6412 GB, free: 2.781 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.6951, allocations: 29.7 kB / 0.6413 GB, free: 2.746 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.6954, allocations: 348 kB / 0.6416 GB, free: 2.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.6954, allocations: 102.4 kB / 0.6417 GB, free: 2.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.6956, allocations: 81.89 kB / 0.6418 GB, free: 2.211 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6957, allocations: 321.9 kB / 0.6421 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.6961, allocations: 168.2 kB / 0.6422 GB, free: 1.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.6966, allocations: 214.2 kB / 0.6424 GB, free: 1.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008199/0.6974, allocations: 380.9 kB / 0.6428 GB, free: 1.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6974, allocations: 0 / 0.6428 GB, free: 1.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001399/0.6988, allocations: 0.6335 MB / 0.6434 GB, free: 476 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.6988, allocations: 4 kB / 0.6434 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6989, allocations: 4 kB / 0.6434 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007775/0.7066, allocations: 1.183 MB / 0.6446 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.7069, allocations: 51.89 kB / 0.6446 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.7088, allocations: 0.9556 MB / 0.6456 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005946/0.7094, allocations: 24.05 kB / 0.6456 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.7095, allocations: 31.91 kB / 0.6456 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005542/0.7101, allocations: 264.7 kB / 0.6459 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004136/0.7105, allocations: 212.7 kB / 0.6461 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009173/0.7114, allocations: 381.4 kB / 0.6464 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/0.7114, allocations: 3.938 kB / 0.6464 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.001355/0.7128, allocations: 0.5402 MB / 0.647 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.7128, allocations: 11.91 kB / 0.647 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7128, allocations: 4 kB / 0.647 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003114/0.7132, allocations: 64.8 kB / 0.647 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.7136, allocations: 87.86 kB / 0.6471 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.7155, allocations: 1.572 MB / 0.6487 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005366/0.716, allocations: 27.97 kB / 0.6487 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.7161, allocations: 23.92 kB / 0.6487 GB, free: 10.8 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.000306/0.7164, allocations: 196.2 kB / 0.6489 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.7166, allocations: 71.16 kB / 0.649 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/0.7196, allocations: 2.034 MB / 0.651 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.7197, allocations: 15.97 kB / 0.651 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7197, allocations: 7.75 kB / 0.651 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.7197, allocations: 3.984 kB / 0.651 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.7209, allocations: 0.9426 MB / 0.6519 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.7209, allocations: 4 kB / 0.6519 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.7211, allocations: 35.97 kB / 0.6519 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003188/0.7243, allocations: 1.393 MB / 0.6533 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.7244, allocations: 12 kB / 0.6533 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.7269, allocations: 2.064 MB / 0.6553 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.7269, allocations: 4 kB / 0.6553 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.7295, allocations: 1.755 MB / 0.657 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.7298, allocations: 179.6 kB / 0.6572 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.7299, allocations: 8 kB / 0.6572 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.7303, allocations: 27.97 kB / 0.6573 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.7304, allocations: 36.38 kB / 0.6573 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.7305, allocations: 12 kB / 0.6573 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000537/0.731, allocations: 451 kB / 0.6577 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.71e-07/0.731, allocations: 0 / 0.6577 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003529/0.7346, allocations: 1.097 MB / 0.6588 GB, free: 340 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.003868/0.7384, allocations: 0.997 MB / 0.6598 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002693/0.7412, allocations: 0.9155 MB / 0.6607 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7412, allocations: 4.5 kB / 0.6607 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009295/0.7421, allocations: 491.8 kB / 0.6611 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.7441, allocations: 426.9 kB / 0.6615 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.7466, allocations: 1.591 MB / 0.6631 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.7471, allocations: 0.9908 MB / 0.6641 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004999/0.7476, allocations: 273 kB / 0.6643 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/0.7477, allocations: 43.44 kB / 0.6644 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/0.7477, allocations: 4 kB / 0.6644 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.06162/0.8093, allocations: 44.18 MB / 0.7075 GB, free: 14.28 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)