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.7909/0.7909, allocations: 150.9 MB / 166.1 MB, free: 14.89 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002495/0.0002495, allocations: 15.97 kB / 204.2 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1403, allocations: 31.34 MB / 235.5 MB, free: 5.383 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.551/1.691, allocations: 293.7 MB / 0.5168 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0364/1.727, allocations: 34.65 MB / 0.5506 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/1.728, allocations: 4 kB / 0.5506 GB, free: 11.09 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.0004133/1.728, allocations: 99.53 kB / 0.5507 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/1.728, allocations: 87.3 kB / 0.5508 GB, free: 10.91 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.02399/1.752, allocations: 8.406 MB / 0.559 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/1.753, allocations: 402.2 kB / 0.5594 GB, free: 2.102 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/1.753, allocations: 126.7 kB / 0.5595 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/1.754, allocations: 163.3 kB / 0.5597 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/1.754, allocations: 143.3 kB / 0.5598 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/1.754, allocations: 20 kB / 0.5599 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0266/1.78, allocations: 17.74 MB / 0.5772 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/1.78, allocations: 51.78 kB / 0.5772 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/1.781, allocations: 159.2 kB / 0.5774 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0176/1.798, allocations: 8.484 MB / 0.5857 GB, free: 7.191 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.798, allocations: 0 / 0.5857 GB, free: 7.191 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/1.798, allocations: 4 kB / 0.5857 GB, free: 7.188 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/1.798, allocations: 0 / 0.5857 GB, free: 7.188 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.00411/1.802, allocations: 1.486 MB / 0.5871 GB, free: 5.652 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.803, allocations: 15.97 kB / 0.5871 GB, free: 5.637 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.656e-05/1.803, allocations: 31.56 kB / 0.5872 GB, free: 5.605 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/1.803, allocations: 255.4 kB / 0.5874 GB, free: 5.316 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/1.803, allocations: 12.56 kB / 0.5874 GB, free: 5.301 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/1.803, allocations: 24 kB / 0.5874 GB, free: 5.277 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/1.803, allocations: 328.3 kB / 0.5878 GB, free: 4.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/1.803, allocations: 3.938 kB / 0.5878 GB, free: 4.926 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/1.803, allocations: 12 kB / 0.5878 GB, free: 4.914 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/1.803, allocations: 11.98 kB / 0.5878 GB, free: 4.902 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/1.804, allocations: 221.2 kB / 0.588 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03563/1.84, allocations: 18.01 MB / 0.6056 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/1.84, allocations: 205.5 kB / 0.6058 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/1.84, allocations: 124.8 kB / 0.6059 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1384/1.979, allocations: 77.27 MB / 0.6814 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/1.979, allocations: 34.56 kB / 0.6814 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 1.733e-06/1.979, allocations: 0 / 0.6814 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004106/1.983, allocations: 0.9379 MB / 0.6823 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/1.983, allocations: 55.34 kB / 0.6824 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/1.983, allocations: 250.6 kB / 0.6826 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/1.983, allocations: 25.7 kB / 0.6826 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.686e-05/1.983, allocations: 164.5 kB / 0.6828 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.571e-05/1.983, allocations: 137.9 kB / 0.6829 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/1.983, allocations: 53.61 kB / 0.683 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/1.983, allocations: 350.7 kB / 0.6833 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/1.984, allocations: 92.41 kB / 0.6834 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/1.984, allocations: 147.6 kB / 0.6835 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/1.984, allocations: 270 kB / 0.6838 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.984, allocations: 8 kB / 0.6838 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002371/1.987, allocations: 0.6059 MB / 0.6844 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.987, allocations: 11.94 kB / 0.6844 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.987, allocations: 3.938 kB / 0.6844 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007385/1.987, allocations: 224.6 kB / 0.6846 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/1.987, allocations: 19.92 kB / 0.6846 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007352/1.988, allocations: 0.7357 MB / 0.6853 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/1.988, allocations: 39.56 kB / 0.6854 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/1.988, allocations: 11.94 kB / 0.6854 GB, free: 6.16 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.0001156/1.988, allocations: 141.8 kB / 0.6855 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/1.989, allocations: 23.72 kB / 0.6856 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008893/1.989, allocations: 0.7872 MB / 0.6863 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004371/1.99, allocations: 294.4 kB / 0.6866 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.99, allocations: 7.922 kB / 0.6866 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/1.99, allocations: 8 kB / 0.6866 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/1.991, allocations: 0.8661 MB / 0.6875 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.991, allocations: 0 / 0.6875 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/1.991, allocations: 24 kB / 0.6875 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006414/1.992, allocations: 208.3 kB / 0.6877 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/1.992, allocations: 8 kB / 0.6877 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006872/1.992, allocations: 0.7535 MB / 0.6884 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.992, allocations: 0 / 0.6884 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005548/1.993, allocations: 433.8 kB / 0.6888 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/1.993, allocations: 116.7 kB / 0.689 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/1.993, allocations: 15.84 kB / 0.689 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/1.993, allocations: 7.984 kB / 0.689 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/1.993, allocations: 11.98 kB / 0.689 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/1.993, allocations: 8 kB / 0.689 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002338/1.994, allocations: 259 kB / 0.6892 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.994, allocations: 0 / 0.6892 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002795/1.996, allocations: 1.191 MB / 0.6904 GB, free: 0.8125 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.1786/2.175, allocations: 1.775 MB / 0.6921 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009677/2.176, allocations: 324.5 kB / 0.6925 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/2.176, allocations: 1.469 kB / 0.6925 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004057/2.176, allocations: 157.4 kB / 0.6926 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008886/2.177, allocations: 126.4 kB / 0.6927 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/2.179, allocations: 0.7151 MB / 0.6934 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/2.179, allocations: 0.7853 MB / 0.6942 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001266/2.179, allocations: 23.77 kB / 0.6942 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/2.179, allocations: 22.91 kB / 0.6942 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/2.179, allocations: 0 / 0.6942 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.04955/2.229, allocations: 43.69 MB / 0.7369 GB, free: 204.4 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)