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.8224/0.8224, allocations: 150.9 MB / 167.1 MB, free: 14.49 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 19.97 kB / 205.9 MB, free: 9.012 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 31.32 MB / 237.3 MB, free: 5.734 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.59/1.727, allocations: 294.6 MB / 0.5194 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03773/1.764, allocations: 34.45 MB / 0.553 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/1.764, allocations: 0 / 0.553 GB, free: 10.87 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.0003274/1.765, allocations: 116.7 kB / 0.5532 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/1.765, allocations: 103.1 kB / 0.5533 GB, free: 10.65 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.02263/1.788, allocations: 9.589 MB / 0.5626 GB, free: 1.059 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005908/1.788, allocations: 406.2 kB / 0.563 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/1.788, allocations: 121.9 kB / 0.5631 GB, free: 0.543 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/1.789, allocations: 167.3 kB / 0.5633 GB, free: 388 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/1.789, allocations: 131.3 kB / 0.5634 GB, free: 256 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/1.789, allocations: 24 kB / 0.5634 GB, free: 232 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02832/1.817, allocations: 17.89 MB / 0.5809 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/1.817, allocations: 59.77 kB / 0.581 GB, free: 14.25 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/1.818, allocations: 155.1 kB / 0.5811 GB, free: 14.1 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01722/1.835, allocations: 8.449 MB / 0.5894 GB, free: 5.633 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.835, allocations: 4 kB / 0.5894 GB, free: 5.629 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/1.835, allocations: 0 / 0.5894 GB, free: 5.629 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/1.835, allocations: 0 / 0.5894 GB, free: 5.629 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.003651/1.839, allocations: 1.482 MB / 0.5908 GB, free: 4.098 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/1.839, allocations: 12.03 kB / 0.5908 GB, free: 4.086 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/1.839, allocations: 35.56 kB / 0.5909 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/1.839, allocations: 254.3 kB / 0.5911 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/1.839, allocations: 16.56 kB / 0.5911 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/1.839, allocations: 20 kB / 0.5911 GB, free: 3.727 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/1.839, allocations: 332.2 kB / 0.5914 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.84, allocations: 0 / 0.5914 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/1.84, allocations: 12 kB / 0.5915 GB, free: 3.359 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/1.84, allocations: 15.98 kB / 0.5915 GB, free: 3.344 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/1.84, allocations: 221.1 kB / 0.5917 GB, free: 3.129 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03763/1.878, allocations: 18.12 MB / 0.6094 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004731/1.878, allocations: 202.5 kB / 0.6096 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/1.878, allocations: 122.2 kB / 0.6097 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1551/2.033, allocations: 77.75 MB / 0.6856 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/2.033, allocations: 30.56 kB / 0.6856 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 3.005e-06/2.033, allocations: 0 / 0.6856 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004193/2.038, allocations: 0.9327 MB / 0.6866 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/2.038, allocations: 55.41 kB / 0.6866 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/2.038, allocations: 254.6 kB / 0.6869 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/2.038, allocations: 33.7 kB / 0.6869 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/2.038, allocations: 160.5 kB / 0.687 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.963e-05/2.038, allocations: 129.9 kB / 0.6872 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/2.038, allocations: 65.59 kB / 0.6872 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001142/2.038, allocations: 338.8 kB / 0.6875 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/2.039, allocations: 100.4 kB / 0.6876 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/2.039, allocations: 154.9 kB / 0.6878 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/2.039, allocations: 262.2 kB / 0.688 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/2.039, allocations: 4 kB / 0.688 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002416/2.042, allocations: 0.6098 MB / 0.6886 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/2.042, allocations: 8 kB / 0.6886 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/2.042, allocations: 7.875 kB / 0.6887 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000805/2.043, allocations: 223.8 kB / 0.6889 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/2.043, allocations: 19.92 kB / 0.6889 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008446/2.043, allocations: 0.7377 MB / 0.6896 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/2.044, allocations: 35.53 kB / 0.6896 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/2.044, allocations: 8 kB / 0.6896 GB, free: 4.031 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.0001393/2.044, allocations: 145.7 kB / 0.6898 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/2.044, allocations: 27.75 kB / 0.6898 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009866/2.045, allocations: 0.7794 MB / 0.6906 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005008/2.045, allocations: 304.4 kB / 0.6909 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/2.045, allocations: 3.938 kB / 0.6909 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/2.045, allocations: 0 / 0.6909 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/2.047, allocations: 0.869 MB / 0.6917 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/2.047, allocations: 0 / 0.6917 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/2.047, allocations: 23.98 kB / 0.6917 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006785/2.047, allocations: 188.7 kB / 0.6919 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/2.047, allocations: 15.86 kB / 0.6919 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007724/2.048, allocations: 0.7609 MB / 0.6927 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/2.048, allocations: 0 / 0.6927 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006077/2.049, allocations: 427.8 kB / 0.6931 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/2.049, allocations: 124.6 kB / 0.6932 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/2.049, allocations: 19.78 kB / 0.6932 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/2.049, allocations: 0 / 0.6932 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/2.049, allocations: 19.97 kB / 0.6932 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/2.049, allocations: 4 kB / 0.6932 GB, free: 136 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.1541/2.203, allocations: 251.7 kB / 0.6935 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.01e-07/2.204, allocations: 0 / 0.6935 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002839/2.206, allocations: 1.187 MB / 0.6946 GB, free: 226.3 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.005259/2.212, allocations: 1.722 MB / 0.6963 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007991/2.212, allocations: 314.6 kB / 0.6966 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/2.212, allocations: 1.781 kB / 0.6966 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/2.213, allocations: 149.8 kB / 0.6968 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007634/2.214, allocations: 134.8 kB / 0.6969 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/2.215, allocations: 0.6045 MB / 0.6975 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/2.215, allocations: 0.7842 MB / 0.6983 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001073/2.215, allocations: 27.89 kB / 0.6983 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/2.215, allocations: 20.09 kB / 0.6983 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/2.215, allocations: 1.75 kB / 0.6983 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.04787/2.263, allocations: 43.25 MB / 0.7405 GB, free: 202.8 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 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)