Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8227/0.8227, allocations: 150.9 MB / 166.4 MB, free: 14.17 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002977, allocations: 11.98 kB / 204.5 MB, free: 9.625 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1357, allocations: 31.34 MB / 235.9 MB, free: 5.426 MB / 190.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.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.536/1.672, allocations: 294.8 MB / 0.5182 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0377/1.71, allocations: 34.44 MB / 0.5519 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/1.71, allocations: 4 kB / 0.5519 GB, free: 10.95 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:63:3-65:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003572/1.71, allocations: 107.3 kB / 0.552 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/1.711, allocations: 111.1 kB / 0.5521 GB, free: 10.74 MB / 446.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02192/1.732, allocations: 9.586 MB / 0.5614 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004983/1.733, allocations: 402.3 kB / 0.5618 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/1.733, allocations: 126.2 kB / 0.5619 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/1.733, allocations: 159.3 kB / 0.5621 GB, free: 492 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/1.734, allocations: 147.2 kB / 0.5622 GB, free: 344 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/1.734, allocations: 20 kB / 0.5622 GB, free: 324 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02713/1.761, allocations: 17.66 MB / 0.5795 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/1.761, allocations: 59.77 kB / 0.5796 GB, free: 14.58 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/1.761, allocations: 155.1 kB / 0.5797 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01686/1.778, allocations: 8.464 MB / 0.588 GB, free: 5.941 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/1.778, allocations: 0 / 0.588 GB, free: 5.941 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/1.778, allocations: 4 kB / 0.588 GB, free: 5.938 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/1.778, allocations: 0 / 0.588 GB, free: 5.938 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003739/1.782, allocations: 1.49 MB / 0.5894 GB, free: 4.398 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/1.782, allocations: 11.97 kB / 0.5894 GB, free: 4.387 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/1.782, allocations: 35.56 kB / 0.5895 GB, free: 4.352 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/1.782, allocations: 250.3 kB / 0.5897 GB, free: 4.066 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/1.782, allocations: 24.56 kB / 0.5897 GB, free: 4.043 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/1.782, allocations: 16 kB / 0.5897 GB, free: 4.027 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/1.783, allocations: 336.2 kB / 0.5901 GB, free: 3.668 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.783, allocations: 0 / 0.5901 GB, free: 3.668 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/1.783, allocations: 4 kB / 0.5901 GB, free: 3.664 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/1.783, allocations: 19.98 kB / 0.5901 GB, free: 3.645 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/1.783, allocations: 217.2 kB / 0.5903 GB, free: 3.434 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03817/1.821, allocations: 18.01 MB / 0.6079 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/1.822, allocations: 206.5 kB / 0.6081 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/1.822, allocations: 120.8 kB / 0.6082 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1561/1.978, allocations: 77.28 MB / 0.6837 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/1.978, allocations: 34.56 kB / 0.6837 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.355e-06/1.978, allocations: 0 / 0.6837 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004231/1.982, allocations: 0.9406 MB / 0.6846 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/1.982, allocations: 59.41 kB / 0.6847 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/1.983, allocations: 242.6 kB / 0.6849 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/1.983, allocations: 33.7 kB / 0.6849 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/1.983, allocations: 156.5 kB / 0.6851 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/1.983, allocations: 129.9 kB / 0.6852 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/1.983, allocations: 65.59 kB / 0.6853 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.983, allocations: 342.7 kB / 0.6856 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/1.983, allocations: 100.4 kB / 0.6857 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/1.984, allocations: 146.9 kB / 0.6858 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/1.984, allocations: 270 kB / 0.6861 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.984, allocations: 0 / 0.6861 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00245/1.987, allocations: 0.6059 MB / 0.6867 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.987, allocations: 11.92 kB / 0.6867 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.987, allocations: 7.938 kB / 0.6867 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008017/1.987, allocations: 221.4 kB / 0.6869 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.644e-05/1.988, allocations: 19.92 kB / 0.6869 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008928/1.988, allocations: 0.7376 MB / 0.6877 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/1.989, allocations: 43.56 kB / 0.6877 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/1.989, allocations: 4 kB / 0.6877 GB, free: 4.91 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000138/1.989, allocations: 145.8 kB / 0.6878 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/1.989, allocations: 19.72 kB / 0.6879 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009386/1.99, allocations: 0.7872 MB / 0.6886 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005437/1.99, allocations: 296.4 kB / 0.6889 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.99, allocations: 7.938 kB / 0.6889 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.99, allocations: 3.984 kB / 0.6889 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/1.992, allocations: 0.8699 MB / 0.6898 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/1.992, allocations: 8 kB / 0.6898 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-05/1.992, allocations: 23.94 kB / 0.6898 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006704/1.992, allocations: 195.3 kB / 0.69 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/1.992, allocations: 4 kB / 0.69 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000838/1.993, allocations: 0.757 MB / 0.6907 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.993, allocations: 4 kB / 0.6907 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/1.994, allocations: 431.7 kB / 0.6911 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/1.994, allocations: 116.7 kB / 0.6913 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/1.994, allocations: 15.84 kB / 0.6913 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/1.994, allocations: 7.984 kB / 0.6913 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/1.994, allocations: 15.98 kB / 0.6913 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/1.994, allocations: 4 kB / 0.6913 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003248/1.995, allocations: 259 kB / 0.6915 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/1.995, allocations: 0 / 0.6915 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.1443/2.139, allocations: 1.182 MB / 0.6927 GB, free: 226.2 MB / 0.5762 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 (13): * Single equations (assignments): 12 * 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 {(4,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005381/2.144, allocations: 1.736 MB / 0.6944 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008932/2.145, allocations: 332.2 kB / 0.6947 GB, free: 226 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/2.145, allocations: 0 / 0.6947 GB, free: 226 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/2.146, allocations: 150.5 kB / 0.6949 GB, free: 226 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008325/2.147, allocations: 129.9 kB / 0.695 GB, free: 226 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/2.148, allocations: 0.6096 MB / 0.6956 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/2.148, allocations: 0.7834 MB / 0.6963 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001067/2.148, allocations: 25.3 kB / 0.6964 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/2.148, allocations: 22.56 kB / 0.6964 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/2.148, allocations: 0 / 0.6964 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.04653/2.195, allocations: 43.35 MB / 0.7387 GB, free: 203.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)