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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7982/0.7982, allocations: 152.6 MB / 169.6 MB, free: 14.95 MB / 142.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005033, allocations: 16.64 kB / 245.6 MB, free: 15.6 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05771/0.05821, allocations: 33.06 MB / 278.7 MB, free: 0.625 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.622/1.68, allocations: 301.3 MB / 0.5664 GB, free: 2.453 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4804/2.16, allocations: 188 MB / 0.75 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/2.161, allocations: 11.06 kB / 0.75 GB, free: 14.69 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/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.0001293/2.161, allocations: 44.5 kB / 0.7501 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002787/2.161, allocations: 119.4 kB / 0.7502 GB, free: 14.66 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.02532/2.186, allocations: 11.56 MB / 0.7615 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005314/2.187, allocations: 433.3 kB / 0.7619 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/2.187, allocations: 181.9 kB / 0.762 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/2.187, allocations: 173.6 kB / 0.7622 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/2.187, allocations: 190.1 kB / 0.7624 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/2.187, allocations: 34.38 kB / 0.7624 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03082/2.218, allocations: 19.83 MB / 0.7818 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/2.218, allocations: 82.34 kB / 0.7819 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002164/2.219, allocations: 198.4 kB / 0.7821 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02003/2.239, allocations: 9.748 MB / 0.7916 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/2.239, allocations: 4 kB / 0.7916 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/2.239, allocations: 0 / 0.7916 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.187e-05/2.239, allocations: 0 / 0.7916 GB, free: 1.562 MB / 0.5919 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.004569/2.243, allocations: 1.848 MB / 0.7934 GB, free: 248 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/2.243, allocations: 7.75 kB / 0.7934 GB, free: 248 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.374e-05/2.243, allocations: 49.03 kB / 0.7934 GB, free: 224 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/2.244, allocations: 318.7 kB / 0.7937 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/2.244, allocations: 28.12 kB / 0.7938 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/2.244, allocations: 35.03 kB / 0.7938 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/2.244, allocations: 389.2 kB / 0.7942 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/2.244, allocations: 0 / 0.7942 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/2.244, allocations: 13.28 kB / 0.7942 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/2.244, allocations: 7.75 kB / 0.7942 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/2.245, allocations: 260.2 kB / 0.7944 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008733/2.254, allocations: 6.158 MB / 0.8005 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/2.255, allocations: 301 kB / 0.8007 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/2.255, allocations: 56.83 kB / 0.8008 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1681/2.424, allocations: 82.49 MB / 0.8814 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/2.424, allocations: 38.5 kB / 0.8814 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/2.424, allocations: 0 / 0.8814 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.005105/2.429, allocations: 0.9059 MB / 0.8823 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/2.429, allocations: 55.41 kB / 0.8823 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/2.429, allocations: 322.3 kB / 0.8826 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/2.429, allocations: 29.7 kB / 0.8827 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/2.429, allocations: 243 kB / 0.8829 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/2.429, allocations: 51.58 kB / 0.883 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/2.43, allocations: 61.66 kB / 0.883 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001611/2.43, allocations: 338.8 kB / 0.8833 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/2.43, allocations: 69.17 kB / 0.8834 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/2.43, allocations: 161.5 kB / 0.8836 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/2.431, allocations: 246.2 kB / 0.8838 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/2.431, allocations: 4 kB / 0.8838 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002393/2.433, allocations: 0.5688 MB / 0.8843 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/2.433, allocations: 4 kB / 0.8844 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/2.433, allocations: 4.562 kB / 0.8844 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007619/2.434, allocations: 158.2 kB / 0.8845 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/2.434, allocations: 39.97 kB / 0.8845 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008228/2.435, allocations: 0.6909 MB / 0.8852 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/2.435, allocations: 39.77 kB / 0.8853 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/2.435, allocations: 17.09 kB / 0.8853 GB, free: 8.141 MB / 0.7012 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.0001804/2.435, allocations: 149.7 kB / 0.8854 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/2.435, allocations: 31.81 kB / 0.8854 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/2.437, allocations: 477.4 kB / 0.8859 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/2.437, allocations: 0 / 0.8859 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/2.437, allocations: 0 / 0.8859 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/2.437, allocations: 0 / 0.8859 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/2.438, allocations: 336.7 kB / 0.8862 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/2.438, allocations: 0 / 0.8862 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/2.438, allocations: 8.609 kB / 0.8862 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006645/2.439, allocations: 156.3 kB / 0.8864 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/2.439, allocations: 0 / 0.8864 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007615/2.439, allocations: 0.6878 MB / 0.8871 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/2.439, allocations: 0 / 0.8871 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/2.442, allocations: 469.9 kB / 0.8875 GB, free: 5.754 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/2.442, allocations: 120.8 kB / 0.8876 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/2.442, allocations: 0 / 0.8876 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/2.442, allocations: 4 kB / 0.8876 GB, free: 5.613 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/2.442, allocations: 15.92 kB / 0.8876 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/2.442, allocations: 0 / 0.8876 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002585/2.442, allocations: 227 kB / 0.8879 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.1e-08/2.442, allocations: 0 / 0.8879 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003741/2.446, allocations: 1.451 MB / 0.8893 GB, free: 3.922 MB / 0.7012 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.007013/2.453, allocations: 2.197 MB / 0.8914 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0006478/2.453, allocations: 190.1 kB / 0.8916 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/2.453, allocations: 0 / 0.8916 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002708/2.454, allocations: 88.75 kB / 0.8917 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/2.454, allocations: 71.16 kB / 0.8917 GB, free: 1.66 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/2.455, allocations: 0.5727 MB / 0.8923 GB, free: 1.066 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/2.456, allocations: 0.7717 MB / 0.8931 GB, free: 272 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/2.456, allocations: 27.44 kB / 0.8931 GB, free: 244 kB / 0.7012 GB Notification: Performance of SimCode: time 4.81e-07/2.456, allocations: 0 / 0.8931 GB, free: 244 kB / 0.7012 GB Notification: Performance of Templates: time 0.04346/2.499, allocations: 28.98 MB / 0.9214 GB, free: 3.285 MB / 0.7325 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] [Calling sys.exit(0), Time elapsed: 11.06460307398811] Failed to read output from testmodel.py, exit status != 0: 2.6453120661899447 2.881242367 0.640188497 Calling exit ...