Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.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.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8015/0.8015, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003217, allocations: 17.69 kB / 237.7 MB, free: 1.824 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05675/0.05708, allocations: 31.34 MB / 269.1 MB, free: 7.113 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.TestStaticCentrifugalPump): time 1.618/1.675, allocations: 296 MB / 0.5519 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5413/2.217, allocations: 184.4 MB / 0.7319 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005075/2.217, allocations: 14.47 kB / 0.7319 GB, free: 0.9648 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:63:3-64: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/StaticCentrifugalPump.mo:65:3-66: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/Volumes/Tank.mo:135:3-136:66:writable] Warning: Connector Ce1 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/Volumes/Tank.mo:137:3-138:74:writable] Warning: Connector Cs2 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/Volumes/Tank.mo:142:3-143:68:writable] Warning: Connector Ce2 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/Volumes/Tank.mo:144:3-145:72:writable] Warning: Connector Cs1 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/ControlValve.mo:44:3-45:68: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/ControlValve.mo:46:3-47:66: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.0003412/2.218, allocations: 94.78 kB / 0.732 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005275/2.218, allocations: 225.2 kB / 0.7322 GB, free: 0.9609 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.02574/2.244, allocations: 10.55 MB / 0.7425 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00119/2.245, allocations: 1.033 MB / 0.7436 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004419/2.246, allocations: 0.4915 MB / 0.744 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004214/2.246, allocations: 414.8 kB / 0.7444 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004268/2.247, allocations: 468.9 kB / 0.7449 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/2.247, allocations: 93.84 kB / 0.745 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02977/2.276, allocations: 16.82 MB / 0.7614 GB, free: 344 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/2.277, allocations: 214.6 kB / 0.7616 GB, free: 300 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007212/2.278, allocations: 447.4 kB / 0.762 GB, free: 260 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02575/2.303, allocations: 9.184 MB / 0.771 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/2.303, allocations: 8.562 kB / 0.771 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/2.303, allocations: 0 / 0.771 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.295e-05/2.303, allocations: 0 / 0.771 GB, free: 13.14 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006835/2.31, allocations: 2.231 MB / 0.7732 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/2.31, allocations: 11.09 kB / 0.7732 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/2.31, allocations: 92.73 kB / 0.7733 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000643/2.311, allocations: 461.9 kB / 0.7737 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/2.311, allocations: 93.44 kB / 0.7738 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/2.311, allocations: 86.83 kB / 0.7739 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/2.313, allocations: 1.031 MB / 0.7749 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/2.313, allocations: 6.062 kB / 0.7749 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.372e-05/2.313, allocations: 33.22 kB / 0.7749 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/2.313, allocations: 25.72 kB / 0.775 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/2.316, allocations: 0.918 MB / 0.7759 GB, free: 10.75 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.004768/2.32, allocations: 5.329 MB / 0.7811 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/2.323, allocations: 0.7295 MB / 0.7818 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000823/2.324, allocations: 288.6 kB / 0.782 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3647/2.688, allocations: 181.5 MB / 0.9593 GB, free: 5.395 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/2.69, allocations: 391.1 kB / 0.9597 GB, free: 4.992 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 3.346e-06/2.69, allocations: 5.094 kB / 0.9597 GB, free: 4.988 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.009085/2.699, allocations: 1.977 MB / 0.9616 GB, free: 2.977 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/2.699, allocations: 158.2 kB / 0.9618 GB, free: 2.785 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/2.7, allocations: 0.5142 MB / 0.9623 GB, free: 2.258 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/2.7, allocations: 37.7 kB / 0.9623 GB, free: 2.215 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/2.7, allocations: 428 kB / 0.9627 GB, free: 1.801 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/2.7, allocations: 156.8 kB / 0.9629 GB, free: 1.648 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/2.7, allocations: 178.4 kB / 0.963 GB, free: 1.465 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001356/2.701, allocations: 366.8 kB / 0.9634 GB, free: 1.098 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008506/2.701, allocations: 285.8 kB / 0.9637 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/2.702, allocations: 0.6656 MB / 0.9643 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00739/2.71, allocations: 2.045 MB / 0.9663 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/2.71, allocations: 0 / 0.9663 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003885/2.714, allocations: 1.277 MB / 0.9676 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/2.714, allocations: 8 kB / 0.9676 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/2.714, allocations: 16.78 kB / 0.9676 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002653/2.717, allocations: 0.5117 MB / 0.9681 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009103/2.717, allocations: 224.4 kB / 0.9683 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/2.719, allocations: 1.401 MB / 0.9697 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008671/2.72, allocations: 147 kB / 0.9698 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.2e-05/2.72, allocations: 47.98 kB / 0.9698 GB, free: 10.25 MB / 0.8106 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,Bache1.Cs2.ftype,Bache1.Cs1.ftype,Bache1.Ce1.ftype,Bache1.fluids[1],$PRE.pulse.T0,StaticCentrifugalPump1.fluid,VanneReglante1.fluid,pulse.T0,Bache1.fluid1,Bache1.Ce2.diff_on_2,VanneReglante1.C2.diff_on_2,Bache1.Cs2.diff_on_2,Bache1.Cs2.diff_on_1,VanneReglante1.C2.diff_on_1,StaticCentrifugalPump1.C2.diff_on_1,Bache1.Cs1.diff_on_1,Bache1.Ce1.diff_on_2,Bache1.Cs1.diff_on_2,Bache1.Ce1.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(5,15), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004208/2.72, allocations: 241 kB / 0.9701 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/2.72, allocations: 62.44 kB / 0.9701 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/2.723, allocations: 0.8724 MB / 0.971 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/2.723, allocations: 3.938 kB / 0.971 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/2.723, allocations: 0 / 0.971 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/2.723, allocations: 180.2 kB / 0.9712 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/2.723, allocations: 12 kB / 0.9712 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/2.724, allocations: 65.73 kB / 0.9712 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/2.724, allocations: 44.38 kB / 0.9713 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003404/2.728, allocations: 1.106 MB / 0.9724 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002684/2.73, allocations: 1.224 MB / 0.9736 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008181/2.731, allocations: 259.6 kB / 0.9738 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004088/2.732, allocations: 338.8 kB / 0.9741 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of Backend: time 4.41e-07/2.732, allocations: 0 / 0.9741 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01442/2.746, allocations: 3.468 MB / 0.9775 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of SimCode: time 0.002602/2.749, allocations: 1.87 MB / 0.9793 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of Templates: time 0.3102/3.059, allocations: 70.64 MB / 1.048 GB, free: 451.1 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe 2>&1)