Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8607/0.8607, allocations: 150.9 MB / 167.2 MB, free: 14.46 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 11.25 kB / 237.7 MB, free: 1.832 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04946/0.0498, allocations: 31.35 MB / 269.1 MB, free: 7.102 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3): time 1.626/1.676, allocations: 295.7 MB / 0.5516 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5974/2.273, allocations: 194.3 MB / 0.7413 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006626/2.274, allocations: 8.688 kB / 0.7413 GB, free: 0.875 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:120:3-121:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:122:3-123:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:124:3-128:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:54:3-55:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002579/2.274, allocations: 73.88 kB / 0.7414 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005573/2.275, allocations: 218.9 kB / 0.7416 GB, free: 0.8711 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.04376/2.319, allocations: 13.31 MB / 0.7546 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001373/2.32, allocations: 0.7993 MB / 0.7553 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/2.321, allocations: 400.8 kB / 0.7557 GB, free: 456 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004316/2.321, allocations: 335.5 kB / 0.7561 GB, free: 456 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/2.321, allocations: 361 kB / 0.7564 GB, free: 456 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.656e-05/2.321, allocations: 70.91 kB / 0.7565 GB, free: 456 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04461/2.366, allocations: 22.42 MB / 0.7784 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000426/2.367, allocations: 273.3 kB / 0.7786 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006759/2.367, allocations: 485.3 kB / 0.7791 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03923/2.406, allocations: 11.88 MB / 0.7907 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/2.407, allocations: 2.344 kB / 0.7907 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.065e-06/2.407, allocations: 0 / 0.7907 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.972e-05/2.407, allocations: 0 / 0.7907 GB, free: 8.855 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.01131/2.418, allocations: 2.782 MB / 0.7934 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/2.418, allocations: 11.72 kB / 0.7934 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/2.418, allocations: 130.1 kB / 0.7935 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/2.42, allocations: 0.5627 MB / 0.7941 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/2.42, allocations: 49.88 kB / 0.7941 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/2.42, allocations: 71.12 kB / 0.7942 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/2.422, allocations: 0.8471 MB / 0.795 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/2.422, allocations: 2.25 kB / 0.795 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.121e-05/2.422, allocations: 26.56 kB / 0.7951 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/2.422, allocations: 17.25 kB / 0.7951 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/2.424, allocations: 0.8929 MB / 0.7959 GB, free: 6.184 MB / 0.6075 GB 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.01527/2.44, allocations: 8.081 MB / 0.8038 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/2.442, allocations: 0.9541 MB / 0.8048 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007556/2.443, allocations: 331.7 kB / 0.8051 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6621/3.105, allocations: 223.3 MB / 1.023 GB, free: 453.4 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/3.105, allocations: 36.94 kB / 1.023 GB, free: 453.4 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=40): time 2.966e-06/3.105, allocations: 1.312 kB / 1.023 GB, free: 453.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.004008/3.109, allocations: 1.565 MB / 1.025 GB, free: 453.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/3.109, allocations: 55.06 kB / 1.025 GB, free: 453.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/3.11, allocations: 0.9631 MB / 1.026 GB, free: 453 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/3.11, allocations: 39.17 kB / 1.026 GB, free: 453 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/3.11, allocations: 0.5095 MB / 1.026 GB, free: 452.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.098e-05/3.11, allocations: 143.2 kB / 1.026 GB, free: 452.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/3.11, allocations: 112.5 kB / 1.026 GB, free: 452.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.325e-05/3.11, allocations: 327.2 kB / 1.027 GB, free: 452.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/3.111, allocations: 323.2 kB / 1.027 GB, free: 452.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/3.112, allocations: 440.5 kB / 1.028 GB, free: 452.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/3.113, allocations: 0.7412 MB / 1.028 GB, free: 452.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/3.113, allocations: 2.719 kB / 1.028 GB, free: 452.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001681/3.114, allocations: 1.103 MB / 1.029 GB, free: 452.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/3.114, allocations: 7.75 kB / 1.029 GB, free: 452.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/3.114, allocations: 3.656 kB / 1.029 GB, free: 452.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006345/3.121, allocations: 1.06 MB / 1.03 GB, free: 452.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/3.121, allocations: 85.61 kB / 1.03 GB, free: 452.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/3.122, allocations: 1.288 MB / 1.032 GB, free: 451.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/3.123, allocations: 72.73 kB / 1.032 GB, free: 451.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/3.123, allocations: 29.16 kB / 1.032 GB, free: 451.5 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (sourceP.C.ftype,centrifugalPump.fluid,sinkP.fluid,lumpedStraightPipe.fluid,sourceP.fluid1,sourceP.C.diff_on_2,lumpedStraightPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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 {(3,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002996/3.123, allocations: 278.1 kB / 1.032 GB, free: 451.4 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/3.123, allocations: 100.1 kB / 1.032 GB, free: 451.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/3.125, allocations: 1.059 MB / 1.033 GB, free: 451.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/3.125, allocations: 7.219 kB / 1.033 GB, free: 451.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/3.125, allocations: 0.5625 kB / 1.033 GB, free: 451.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/3.125, allocations: 206.7 kB / 1.033 GB, free: 451.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/3.125, allocations: 6.719 kB / 1.033 GB, free: 451.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/3.125, allocations: 20.03 kB / 1.033 GB, free: 451.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/3.126, allocations: 33.66 kB / 1.033 GB, free: 451.1 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002078/3.128, allocations: 1.053 MB / 1.034 GB, free: 451 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001522/3.129, allocations: 1.359 MB / 1.036 GB, free: 450.7 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004459/3.13, allocations: 310.8 kB / 1.036 GB, free: 450.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007375/3.13, allocations: 0.6584 MB / 1.037 GB, free: 450.6 MB / 0.8419 GB Notification: Performance of Backend: time 4.3e-07/3.13, allocations: 3.828 kB / 1.037 GB, free: 450.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01624/3.147, allocations: 4.681 MB / 1.041 GB, free: 450.3 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002747/3.149, allocations: 2.291 MB / 1.044 GB, free: 449.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.08418/3.234, allocations: 85.85 MB / 1.127 GB, free: 377.3 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.pipe 2>&1)