Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8216/0.8216, allocations: 152.6 MB / 170.7 MB, free: 6.297 MB / 142.1 MB [Timeout remaining time 89] 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.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.0005019, allocations: 19.97 kB / 247.3 MB, free: 6.375 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1899, allocations: 33.04 MB / 280.3 MB, free: 3.645 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.SimpleExamples.TestStaticCentrifugalPump1): time 1.58/1.77, allocations: 301.2 MB / 0.5679 GB, free: 5.902 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4946/2.264, allocations: 188 MB / 0.7515 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/2.265, allocations: 7.938 kB / 0.7515 GB, free: 4.805 MB / 0.6075 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0001504/2.265, allocations: 43.53 kB / 0.7515 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00038/2.265, allocations: 122.9 kB / 0.7517 GB, free: 4.641 MB / 0.6075 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.03294/2.298, allocations: 11.62 MB / 0.763 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0007317/2.299, allocations: 434.5 kB / 0.7634 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003104/2.299, allocations: 173 kB / 0.7636 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/2.299, allocations: 175.4 kB / 0.7637 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/2.3, allocations: 187.2 kB / 0.7639 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/2.3, allocations: 37.03 kB / 0.764 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03955/2.339, allocations: 19.84 MB / 0.7833 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/2.339, allocations: 83.7 kB / 0.7834 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000278/2.34, allocations: 199 kB / 0.7836 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02693/2.367, allocations: 9.743 MB / 0.7931 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/2.367, allocations: 0 / 0.7931 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/2.367, allocations: 0.75 kB / 0.7931 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.046e-05/2.367, allocations: 0 / 0.7931 GB, free: 10.11 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.005263/2.372, allocations: 1.852 MB / 0.7949 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/2.372, allocations: 8.031 kB / 0.7949 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/2.372, allocations: 51.72 kB / 0.795 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/2.372, allocations: 310.3 kB / 0.7953 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/2.372, allocations: 25 kB / 0.7953 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/2.373, allocations: 39.94 kB / 0.7953 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/2.373, allocations: 389.8 kB / 0.7957 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/2.373, allocations: 0 / 0.7957 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/2.373, allocations: 16 kB / 0.7957 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/2.373, allocations: 9.734 kB / 0.7957 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005399/2.374, allocations: 258.4 kB / 0.796 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009237/2.383, allocations: 6.149 MB / 0.802 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/2.385, allocations: 304.8 kB / 0.8023 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/2.385, allocations: 52.78 kB / 0.8023 GB, free: 15.77 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4902/2.875, allocations: 82.49 MB / 0.8829 GB, free: 31.47 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/2.875, allocations: 40.2 kB / 0.8829 GB, free: 31.43 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/2.875, allocations: 1.125 kB / 0.8829 GB, free: 31.43 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.004781/2.88, allocations: 0.9088 MB / 0.8838 GB, free: 31.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/2.88, allocations: 54.5 kB / 0.8839 GB, free: 31.21 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/2.88, allocations: 311.5 kB / 0.8842 GB, free: 31.11 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/2.88, allocations: 31.48 kB / 0.8842 GB, free: 31.08 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/2.881, allocations: 233.8 kB / 0.8844 GB, free: 30.96 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/2.881, allocations: 56.03 kB / 0.8845 GB, free: 30.94 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/2.881, allocations: 63.47 kB / 0.8845 GB, free: 30.92 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.787e-05/2.881, allocations: 340.7 kB / 0.8849 GB, free: 30.61 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/2.881, allocations: 62.64 kB / 0.8849 GB, free: 30.61 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/2.881, allocations: 166.9 kB / 0.8851 GB, free: 30.48 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/2.881, allocations: 242.2 kB / 0.8853 GB, free: 30.36 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/2.881, allocations: 3.047 kB / 0.8853 GB, free: 30.36 MB / 0.6856 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002171/2.884, allocations: 0.5542 MB / 0.8858 GB, free: 30.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/2.884, allocations: 7.375 kB / 0.8859 GB, free: 30.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/2.884, allocations: 4.656 kB / 0.8859 GB, free: 30.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007622/2.884, allocations: 165.4 kB / 0.886 GB, free: 30.28 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/2.884, allocations: 40.47 kB / 0.8861 GB, free: 30.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006298/2.885, allocations: 0.69 MB / 0.8867 GB, free: 29.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/2.885, allocations: 44.38 kB / 0.8868 GB, free: 29.74 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/2.885, allocations: 14.44 kB / 0.8868 GB, free: 29.74 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,StaticCentrifugalPump1.fluid,sinkP.fluid,sourceP.fluid1,sourceP.C.diff_on_2,StaticCentrifugalPump1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001464/2.886, allocations: 150.2 kB / 0.8869 GB, free: 29.63 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/2.886, allocations: 29.11 kB / 0.887 GB, free: 29.61 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/2.888, allocations: 474.8 kB / 0.8874 GB, free: 29.54 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/2.888, allocations: 0.75 kB / 0.8874 GB, free: 29.54 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/2.888, allocations: 0 / 0.8874 GB, free: 29.54 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/2.888, allocations: 5.547 kB / 0.8874 GB, free: 29.54 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/2.888, allocations: 340.7 kB / 0.8877 GB, free: 29.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/2.888, allocations: 0 / 0.8877 GB, free: 29.35 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/2.888, allocations: 8.5 kB / 0.8877 GB, free: 29.35 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006046/2.889, allocations: 151.5 kB / 0.8879 GB, free: 29.34 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/2.889, allocations: 5.125 kB / 0.8879 GB, free: 29.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005332/2.889, allocations: 0.6927 MB / 0.8886 GB, free: 28.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/2.889, allocations: 0 / 0.8886 GB, free: 28.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/2.891, allocations: 467.3 kB / 0.889 GB, free: 28.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/2.891, allocations: 120.6 kB / 0.8891 GB, free: 28.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/2.891, allocations: 0 / 0.8891 GB, free: 28.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/2.891, allocations: 2.344 kB / 0.8891 GB, free: 28.59 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/2.891, allocations: 17.8 kB / 0.8892 GB, free: 28.59 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/2.891, allocations: 4.062 kB / 0.8892 GB, free: 28.59 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001903/2.892, allocations: 222.6 kB / 0.8894 GB, free: 28.51 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/2.892, allocations: 2.656 kB / 0.8894 GB, free: 28.51 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003457/2.895, allocations: 1.446 MB / 0.8908 GB, free: 28.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005406/2.9, allocations: 2.199 MB / 0.8929 GB, free: 28.19 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007038/2.901, allocations: 196.5 kB / 0.8931 GB, free: 28.18 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/2.901, allocations: 0 / 0.8931 GB, free: 28.18 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/2.901, allocations: 77.3 kB / 0.8932 GB, free: 28.18 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/2.902, allocations: 72.73 kB / 0.8933 GB, free: 28.18 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/2.903, allocations: 0.5801 MB / 0.8938 GB, free: 27.85 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/2.903, allocations: 0.7755 MB / 0.8946 GB, free: 27.15 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/2.903, allocations: 24.39 kB / 0.8946 GB, free: 27.14 MB / 0.6856 GB Notification: Performance of SimCode: time 5.81e-07/2.903, allocations: 4 kB / 0.8946 GB, free: 27.14 MB / 0.6856 GB Notification: Performance of Templates: time 0.03419/2.937, allocations: 28.98 MB / 0.9229 GB, free: 10.75 MB / 0.6856 GB [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 480]