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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7773/0.7773, allocations: 150.8 MB / 166.1 MB, free: 14.89 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002918, allocations: 19.95 kB / 204.2 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 31.33 MB / 235.6 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.504/1.632, allocations: 293.7 MB / 0.5169 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03715/1.669, allocations: 34.64 MB / 0.5507 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/1.669, allocations: 4 kB / 0.5507 GB, free: 11.08 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.0003439/1.67, allocations: 104.9 kB / 0.5508 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/1.67, allocations: 83.3 kB / 0.5509 GB, free: 10.9 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.02208/1.692, allocations: 8.426 MB / 0.5591 GB, free: 2.469 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004825/1.692, allocations: 390.3 kB / 0.5595 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/1.693, allocations: 125.4 kB / 0.5596 GB, free: 1.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/1.693, allocations: 159.3 kB / 0.5598 GB, free: 1.812 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/1.693, allocations: 151.2 kB / 0.5599 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/1.693, allocations: 24 kB / 0.56 GB, free: 1.641 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0256/1.719, allocations: 17.74 MB / 0.5773 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/1.719, allocations: 51.78 kB / 0.5773 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/1.719, allocations: 159.1 kB / 0.5775 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01838/1.737, allocations: 8.472 MB / 0.5858 GB, free: 7.176 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.737, allocations: 0 / 0.5858 GB, free: 7.176 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/1.737, allocations: 0 / 0.5858 GB, free: 7.176 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.294e-05/1.737, allocations: 0 / 0.5858 GB, free: 7.176 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.004536/1.742, allocations: 1.493 MB / 0.5872 GB, free: 5.633 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.742, allocations: 12.03 kB / 0.5872 GB, free: 5.621 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.125e-05/1.742, allocations: 66.53 kB / 0.5873 GB, free: 5.547 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.845e-05/1.742, allocations: 35.56 kB / 0.5873 GB, free: 5.512 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/1.743, allocations: 247.4 kB / 0.5876 GB, free: 5.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/1.743, allocations: 18.39 kB / 0.5876 GB, free: 5.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/1.743, allocations: 20 kB / 0.5876 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000548/1.743, allocations: 336.2 kB / 0.5879 GB, free: 4.836 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/1.743, allocations: 4 kB / 0.5879 GB, free: 4.832 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/1.743, allocations: 4 kB / 0.5879 GB, free: 4.828 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/1.743, allocations: 19.92 kB / 0.5879 GB, free: 4.809 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/1.744, allocations: 217.2 kB / 0.5882 GB, free: 4.598 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03512/1.779, allocations: 18.02 MB / 0.6058 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/1.779, allocations: 197.4 kB / 0.6059 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/1.779, allocations: 124.8 kB / 0.6061 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.146/1.925, allocations: 77.27 MB / 0.6815 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/1.926, allocations: 38.5 kB / 0.6816 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/1.926, allocations: 0 / 0.6816 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004349/1.93, allocations: 0.9329 MB / 0.6825 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/1.93, allocations: 59.34 kB / 0.6825 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/1.93, allocations: 254.6 kB / 0.6828 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.93, allocations: 25.7 kB / 0.6828 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/1.93, allocations: 160.6 kB / 0.6829 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.505e-05/1.93, allocations: 133.9 kB / 0.6831 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/1.931, allocations: 65.53 kB / 0.6831 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.931, allocations: 338.8 kB / 0.6835 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/1.931, allocations: 104.3 kB / 0.6836 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/1.931, allocations: 146.9 kB / 0.6837 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/1.932, allocations: 266 kB / 0.684 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.932, allocations: 0 / 0.684 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002429/1.934, allocations: 0.6137 MB / 0.6846 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.934, allocations: 9.5 kB / 0.6846 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.934, allocations: 4 kB / 0.6846 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008008/1.935, allocations: 222.6 kB / 0.6848 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/1.935, allocations: 15.98 kB / 0.6848 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008472/1.936, allocations: 0.7395 MB / 0.6855 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/1.936, allocations: 43.53 kB / 0.6856 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/1.936, allocations: 4 kB / 0.6856 GB, free: 6.074 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.0001459/1.936, allocations: 145 kB / 0.6857 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/1.936, allocations: 23.72 kB / 0.6857 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009728/1.937, allocations: 0.795 MB / 0.6865 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004772/1.938, allocations: 295.1 kB / 0.6868 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.938, allocations: 7.938 kB / 0.6868 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.938, allocations: 0 / 0.6868 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/1.939, allocations: 0.8694 MB / 0.6876 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.939, allocations: 0 / 0.6876 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/1.939, allocations: 27.92 kB / 0.6877 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006676/1.94, allocations: 197.7 kB / 0.6878 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/1.94, allocations: 4 kB / 0.6879 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007781/1.941, allocations: 0.7551 MB / 0.6886 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.941, allocations: 0 / 0.6886 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/1.941, allocations: 435.7 kB / 0.689 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/1.941, allocations: 127.6 kB / 0.6891 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/1.941, allocations: 15.84 kB / 0.6891 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/1.941, allocations: 0 / 0.6891 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/1.942, allocations: 15.98 kB / 0.6892 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/1.942, allocations: 7.984 kB / 0.6892 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002549/1.942, allocations: 255.2 kB / 0.6894 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.942, allocations: 0 / 0.6894 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003004/1.945, allocations: 1.191 MB / 0.6906 GB, free: 0.7227 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.151/2.096, allocations: 2.632 MB / 0.6931 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000827/2.097, allocations: 329.3 kB / 0.6935 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.097, allocations: 0 / 0.6935 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000332/2.097, allocations: 151.2 kB / 0.6936 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/2.098, allocations: 129.4 kB / 0.6937 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008748/2.107, allocations: 3.986 MB / 0.6976 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/2.107, allocations: 0.7821 MB / 0.6984 GB, free: 224 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001482/2.107, allocations: 23.33 kB / 0.6984 GB, free: 224 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/2.107, allocations: 101.8 kB / 0.6985 GB, free: 224 MB / 0.5762 GB Notification: Performance of SimCode: time 8.21e-07/2.107, allocations: 0 / 0.6985 GB, free: 224 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06526/2.172, allocations: 49.22 MB / 0.7466 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001332/2.172, allocations: 249 kB / 0.7468 GB, free: 195 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.103/6.276, allocations: 1.75 kB / 0.7468 GB, free: 195 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)