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.817/0.817, allocations: 150.9 MB / 166.4 MB, free: 14.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 15.98 kB / 204.6 MB, free: 9.656 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 31.33 MB / 236 MB, free: 5.363 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.561/1.688, allocations: 294.8 MB / 0.5184 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03976/1.728, allocations: 34.44 MB / 0.552 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/1.729, allocations: 4 kB / 0.552 GB, free: 10.85 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.0003564/1.729, allocations: 108.7 kB / 0.5521 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/1.729, allocations: 111.1 kB / 0.5522 GB, free: 10.63 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.02371/1.753, allocations: 9.58 MB / 0.5616 GB, free: 1.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005284/1.753, allocations: 402.3 kB / 0.562 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/1.754, allocations: 125.7 kB / 0.5621 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/1.754, allocations: 159.3 kB / 0.5622 GB, free: 388 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/1.754, allocations: 143.3 kB / 0.5624 GB, free: 244 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/1.754, allocations: 27.94 kB / 0.5624 GB, free: 216 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03061/1.785, allocations: 17.66 MB / 0.5796 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/1.785, allocations: 55.77 kB / 0.5797 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/1.785, allocations: 155.2 kB / 0.5798 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01671/1.802, allocations: 8.461 MB / 0.5881 GB, free: 5.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.802, allocations: 0 / 0.5881 GB, free: 5.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.034e-06/1.802, allocations: 0 / 0.5881 GB, free: 5.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/1.802, allocations: 0 / 0.5881 GB, free: 5.84 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.003914/1.806, allocations: 1.486 MB / 0.5896 GB, free: 4.305 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.806, allocations: 11.97 kB / 0.5896 GB, free: 4.293 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.769e-05/1.806, allocations: 70.47 kB / 0.5896 GB, free: 4.215 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/1.806, allocations: 35.56 kB / 0.5897 GB, free: 4.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/1.806, allocations: 250.4 kB / 0.5899 GB, free: 3.895 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/1.806, allocations: 16.56 kB / 0.5899 GB, free: 3.879 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/1.806, allocations: 20 kB / 0.5899 GB, free: 3.859 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/1.807, allocations: 337.9 kB / 0.5903 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.807, allocations: 0 / 0.5903 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/1.807, allocations: 12 kB / 0.5903 GB, free: 3.488 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/1.807, allocations: 15.92 kB / 0.5903 GB, free: 3.473 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/1.807, allocations: 213.2 kB / 0.5905 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03983/1.847, allocations: 18.01 MB / 0.6081 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/1.848, allocations: 214.4 kB / 0.6083 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/1.848, allocations: 127.7 kB / 0.6084 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1642/2.012, allocations: 77.27 MB / 0.6839 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/2.012, allocations: 34.56 kB / 0.6839 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.084e-06/2.012, allocations: 0 / 0.6839 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004328/2.017, allocations: 0.9406 MB / 0.6848 GB, free: 8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/2.017, allocations: 51.41 kB / 0.6849 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/2.017, allocations: 246.6 kB / 0.6851 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/2.017, allocations: 25.7 kB / 0.6851 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/2.017, allocations: 160.5 kB / 0.6853 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.858e-05/2.017, allocations: 133.9 kB / 0.6854 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/2.017, allocations: 69.53 kB / 0.6855 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001097/2.017, allocations: 338.8 kB / 0.6858 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/2.017, allocations: 100.3 kB / 0.6859 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/2.018, allocations: 142.9 kB / 0.686 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/2.018, allocations: 270 kB / 0.6863 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/2.018, allocations: 0 / 0.6863 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002517/2.021, allocations: 0.6137 MB / 0.6869 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/2.021, allocations: 11.94 kB / 0.6869 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/2.021, allocations: 0 / 0.6869 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008306/2.022, allocations: 227.4 kB / 0.6871 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/2.022, allocations: 15.98 kB / 0.6871 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008623/2.023, allocations: 0.7395 MB / 0.6879 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/2.023, allocations: 39.5 kB / 0.6879 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/2.023, allocations: 11.98 kB / 0.6879 GB, free: 4.734 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.0001407/2.023, allocations: 148.7 kB / 0.688 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/2.023, allocations: 23.72 kB / 0.6881 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009749/2.024, allocations: 0.7911 MB / 0.6888 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005075/2.024, allocations: 296.4 kB / 0.6891 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/2.024, allocations: 3.938 kB / 0.6891 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/2.024, allocations: 0 / 0.6891 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/2.026, allocations: 0.8772 MB / 0.69 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/2.026, allocations: 0 / 0.69 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/2.026, allocations: 27.88 kB / 0.69 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007282/2.027, allocations: 192.7 kB / 0.6902 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/2.027, allocations: 11.19 kB / 0.6902 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007797/2.027, allocations: 0.7609 MB / 0.6909 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/2.027, allocations: 0 / 0.6909 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/2.028, allocations: 427.7 kB / 0.6914 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/2.028, allocations: 120.7 kB / 0.6915 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/2.028, allocations: 11.89 kB / 0.6915 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/2.028, allocations: 8 kB / 0.6915 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/2.028, allocations: 7.984 kB / 0.6915 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/2.028, allocations: 8 kB / 0.6915 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002562/2.029, allocations: 255 kB / 0.6917 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/2.029, allocations: 7.938 kB / 0.6918 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.1465/2.175, allocations: 1.182 MB / 0.6929 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.006221/2.182, allocations: 2.586 MB / 0.6954 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007733/2.182, allocations: 333.5 kB / 0.6958 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/2.182, allocations: 0 / 0.6958 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003564/2.183, allocations: 145.5 kB / 0.6959 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008033/2.183, allocations: 134.9 kB / 0.696 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008377/2.192, allocations: 3.873 MB / 0.6998 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/2.192, allocations: 0.7812 MB / 0.7006 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001264/2.192, allocations: 25.58 kB / 0.7006 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/2.192, allocations: 102.3 kB / 0.7007 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/2.192, allocations: 0 / 0.7007 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07146/2.264, allocations: 48.94 MB / 0.7485 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/16.35, allocations: 17.42 kB / 0.7485 GB, free: 194.3 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)