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.821/0.821, allocations: 150.9 MB / 167.1 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 23.97 kB / 205.9 MB, free: 9.078 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 31.33 MB / 237.3 MB, free: 5.75 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.535/1.662, allocations: 294.6 MB / 0.5194 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03722/1.7, allocations: 34.43 MB / 0.553 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/1.7, allocations: 4 kB / 0.553 GB, free: 10.88 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.0003348/1.7, allocations: 111.2 kB / 0.5532 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/1.7, allocations: 107.1 kB / 0.5533 GB, free: 10.67 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.02196/1.722, allocations: 9.583 MB / 0.5626 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004991/1.723, allocations: 402.3 kB / 0.563 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/1.723, allocations: 130.5 kB / 0.5631 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/1.723, allocations: 159.2 kB / 0.5633 GB, free: 412 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/1.724, allocations: 139.3 kB / 0.5634 GB, free: 272 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/1.724, allocations: 24 kB / 0.5634 GB, free: 248 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02745/1.751, allocations: 17.89 MB / 0.5809 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/1.751, allocations: 59.78 kB / 0.581 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/1.751, allocations: 151.2 kB / 0.5811 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01571/1.767, allocations: 8.453 MB / 0.5894 GB, free: 5.652 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/1.767, allocations: 3.938 kB / 0.5894 GB, free: 5.648 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/1.767, allocations: 0 / 0.5894 GB, free: 5.648 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/1.767, allocations: 0 / 0.5894 GB, free: 5.648 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.003404/1.771, allocations: 1.493 MB / 0.5908 GB, free: 4.105 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/1.771, allocations: 11.97 kB / 0.5908 GB, free: 4.094 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/1.771, allocations: 35.56 kB / 0.5909 GB, free: 4.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/1.771, allocations: 246.4 kB / 0.5911 GB, free: 3.777 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/1.771, allocations: 12.56 kB / 0.5911 GB, free: 3.766 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/1.771, allocations: 24 kB / 0.5911 GB, free: 3.742 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004963/1.771, allocations: 340.2 kB / 0.5915 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.771, allocations: 3.984 kB / 0.5915 GB, free: 3.375 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/1.771, allocations: 8 kB / 0.5915 GB, free: 3.367 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/1.772, allocations: 15.94 kB / 0.5915 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/1.772, allocations: 221.2 kB / 0.5917 GB, free: 3.137 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03647/1.808, allocations: 18.12 MB / 0.6094 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/1.809, allocations: 212.1 kB / 0.6096 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/1.809, allocations: 120.8 kB / 0.6097 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1484/1.958, allocations: 77.73 MB / 0.6856 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.958, allocations: 30.56 kB / 0.6856 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.124e-06/1.958, allocations: 0 / 0.6856 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004226/1.962, allocations: 0.9496 MB / 0.6866 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/1.962, allocations: 55.39 kB / 0.6866 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/1.962, allocations: 250.6 kB / 0.6869 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/1.962, allocations: 25.7 kB / 0.6869 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/1.962, allocations: 156.6 kB / 0.687 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.489e-05/1.962, allocations: 133.9 kB / 0.6872 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.462e-05/1.962, allocations: 61.59 kB / 0.6872 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.963, allocations: 350.7 kB / 0.6876 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/1.963, allocations: 92.41 kB / 0.6876 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/1.963, allocations: 142.9 kB / 0.6878 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/1.963, allocations: 270.2 kB / 0.688 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/1.963, allocations: 4 kB / 0.688 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00242/1.966, allocations: 0.602 MB / 0.6886 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.966, allocations: 9.562 kB / 0.6886 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.966, allocations: 3.938 kB / 0.6886 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007998/1.967, allocations: 225.4 kB / 0.6889 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/1.967, allocations: 17.86 kB / 0.6889 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007998/1.968, allocations: 0.7454 MB / 0.6896 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/1.968, allocations: 35.53 kB / 0.6896 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/1.968, allocations: 12.03 kB / 0.6897 GB, free: 4.043 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.0001275/1.968, allocations: 141.8 kB / 0.6898 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/1.968, allocations: 23.72 kB / 0.6898 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009813/1.969, allocations: 0.7872 MB / 0.6906 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004704/1.969, allocations: 292.4 kB / 0.6909 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/1.969, allocations: 3.938 kB / 0.6909 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.969, allocations: 7.922 kB / 0.6909 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/1.971, allocations: 0.8694 MB / 0.6917 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/1.971, allocations: 3.984 kB / 0.6917 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.381e-05/1.971, allocations: 24 kB / 0.6917 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006644/1.971, allocations: 193.9 kB / 0.6919 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/1.971, allocations: 11.94 kB / 0.6919 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007394/1.972, allocations: 0.757 MB / 0.6927 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.972, allocations: 0 / 0.6927 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005902/1.973, allocations: 431.8 kB / 0.6931 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.903e-05/1.973, allocations: 116.7 kB / 0.6932 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/1.973, allocations: 22.17 kB / 0.6932 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/1.973, allocations: 3.984 kB / 0.6932 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/1.973, allocations: 15.98 kB / 0.6932 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/1.973, allocations: 8 kB / 0.6932 GB, free: 148 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.1452/2.118, allocations: 254.8 kB / 0.6935 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/2.118, allocations: 0 / 0.6935 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002789/2.121, allocations: 1.188 MB / 0.6947 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.004117/2.125, allocations: 1.713 MB / 0.6963 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008262/2.126, allocations: 326.3 kB / 0.6966 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.126, allocations: 0 / 0.6966 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/2.127, allocations: 146.7 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.0007292/2.127, allocations: 132.2 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.0009927/2.128, allocations: 0.6043 MB / 0.6975 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/2.128, allocations: 0.7832 MB / 0.6983 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.683e-05/2.129, allocations: 23.52 kB / 0.6983 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/2.129, allocations: 25.66 kB / 0.6983 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/2.129, allocations: 0 / 0.6983 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.04447/2.173, allocations: 43.24 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 gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)