Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_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.8739/0.8739, allocations: 150.9 MB / 166.4 MB, free: 14.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004162, allocations: 19.97 kB / 204.6 MB, free: 9.719 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.144, allocations: 31.33 MB / 236 MB, free: 5.418 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.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.653/1.797, allocations: 294.9 MB / 0.5184 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2034/2, allocations: 187.4 MB / 0.7015 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000402/2.001, allocations: 7.938 kB / 0.7015 GB, free: 1.32 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:63:3-64:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:65:3-66:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001538/2.001, allocations: 47.52 kB / 0.7015 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000384/2.001, allocations: 118.9 kB / 0.7016 GB, free: 1.156 MB / 0.5762 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.2948/2.296, allocations: 11.32 MB / 0.7127 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004788/2.297, allocations: 428.4 kB / 0.7131 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/2.297, allocations: 230.7 kB / 0.7133 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/2.297, allocations: 163.9 kB / 0.7135 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/2.297, allocations: 190.7 kB / 0.7137 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/2.298, allocations: 35.53 kB / 0.7137 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03051/2.328, allocations: 19.54 MB / 0.7328 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/2.328, allocations: 80.92 kB / 0.7329 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002425/2.329, allocations: 202.8 kB / 0.733 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01859/2.347, allocations: 9.742 MB / 0.7426 GB, free: 452 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/2.347, allocations: 0.8438 kB / 0.7426 GB, free: 452 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.845e-06/2.347, allocations: 0 / 0.7426 GB, free: 452 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.808e-06/2.347, allocations: 0.9688 kB / 0.7426 GB, free: 452 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.004564/2.352, allocations: 1.783 MB / 0.7443 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/2.352, allocations: 10.59 kB / 0.7443 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.761e-05/2.352, allocations: 79.05 kB / 0.7444 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.666e-05/2.352, allocations: 43.41 kB / 0.7444 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/2.352, allocations: 299.6 kB / 0.7447 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/2.352, allocations: 30.75 kB / 0.7447 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/2.352, allocations: 38.41 kB / 0.7448 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/2.353, allocations: 379.6 kB / 0.7451 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/2.353, allocations: 4.859 kB / 0.7451 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/2.353, allocations: 17.31 kB / 0.7452 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/2.353, allocations: 11.09 kB / 0.7452 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005915/2.354, allocations: 255.6 kB / 0.7454 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009055/2.363, allocations: 6.156 MB / 0.7514 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/2.365, allocations: 304 kB / 0.7517 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/2.365, allocations: 58.05 kB / 0.7518 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1758/2.541, allocations: 82.04 MB / 0.8319 GB, free: 6.918 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/2.541, allocations: 34.56 kB / 0.8319 GB, free: 6.875 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 2.194e-06/2.541, allocations: 4 kB / 0.8319 GB, free: 6.871 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.005705/2.546, allocations: 0.905 MB / 0.8328 GB, free: 6.012 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/2.546, allocations: 58.59 kB / 0.8329 GB, free: 5.945 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/2.547, allocations: 315.3 kB / 0.8332 GB, free: 5.688 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/2.547, allocations: 33.39 kB / 0.8332 GB, free: 5.652 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/2.547, allocations: 232.9 kB / 0.8334 GB, free: 5.461 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/2.547, allocations: 52.88 kB / 0.8335 GB, free: 5.418 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.529e-05/2.547, allocations: 66.69 kB / 0.8335 GB, free: 5.367 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001199/2.547, allocations: 333.4 kB / 0.8339 GB, free: 5.043 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/2.548, allocations: 71.98 kB / 0.8339 GB, free: 4.996 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/2.548, allocations: 164.5 kB / 0.8341 GB, free: 4.82 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/2.548, allocations: 242.9 kB / 0.8343 GB, free: 4.605 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/2.548, allocations: 0 / 0.8343 GB, free: 4.605 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002594/2.551, allocations: 0.5536 MB / 0.8349 GB, free: 4.145 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/2.551, allocations: 9.094 kB / 0.8349 GB, free: 4.137 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/2.551, allocations: 4 kB / 0.8349 GB, free: 4.133 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008922/2.552, allocations: 164.2 kB / 0.835 GB, free: 3.996 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/2.552, allocations: 39.08 kB / 0.8351 GB, free: 3.961 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007457/2.553, allocations: 0.6893 MB / 0.8357 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/2.553, allocations: 42.56 kB / 0.8358 GB, free: 3.277 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/2.553, allocations: 12 kB / 0.8358 GB, free: 3.266 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,StaticCentrifugalPump1.fluid,sinkP.fluid,sourceP.fluid1,sourceP.C.diff_on_2,StaticCentrifugalPump1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001469/2.553, allocations: 162.9 kB / 0.8359 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/2.553, allocations: 23.72 kB / 0.836 GB, free: 3.102 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/2.556, allocations: 478.8 kB / 0.8364 GB, free: 2.684 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/2.556, allocations: 3.984 kB / 0.8364 GB, free: 2.68 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/2.556, allocations: 4 kB / 0.8364 GB, free: 2.676 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/2.556, allocations: 0 / 0.8364 GB, free: 2.676 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/2.556, allocations: 329.6 kB / 0.8367 GB, free: 2.363 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/2.556, allocations: 4 kB / 0.8367 GB, free: 2.359 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/2.556, allocations: 7.094 kB / 0.8368 GB, free: 2.355 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007037/2.557, allocations: 157.4 kB / 0.8369 GB, free: 2.223 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/2.557, allocations: 3.375 kB / 0.8369 GB, free: 2.223 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007732/2.558, allocations: 0.6876 MB / 0.8376 GB, free: 1.57 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.558, allocations: 0 / 0.8376 GB, free: 1.57 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/2.56, allocations: 481.3 kB / 0.838 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/2.561, allocations: 115.7 kB / 0.8381 GB, free: 1.02 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/2.561, allocations: 0 / 0.8381 GB, free: 1.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/2.561, allocations: 5.094 kB / 0.8382 GB, free: 1.016 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/2.561, allocations: 11.5 kB / 0.8382 GB, free: 1.008 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/2.561, allocations: 4 kB / 0.8382 GB, free: 1.004 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002298/2.561, allocations: 229 kB / 0.8384 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/2.561, allocations: 0 / 0.8384 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004077/2.565, allocations: 1.433 MB / 0.8398 GB, free: 15.49 MB / 0.6856 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 (3): * Single equations (assignments): 2 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008485/2.574, allocations: 2.857 MB / 0.8426 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005688/2.574, allocations: 203 kB / 0.8428 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/2.574, allocations: 256 / 0.8428 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003761/2.575, allocations: 89.19 kB / 0.8429 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/2.575, allocations: 69.97 kB / 0.8429 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009459/2.584, allocations: 3.814 MB / 0.8466 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/2.585, allocations: 0.7717 MB / 0.8474 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001379/2.585, allocations: 34.91 kB / 0.8474 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/2.585, allocations: 105 kB / 0.8475 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of SimCode: time 1.954e-06/2.585, allocations: 5.203 kB / 0.8475 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08749/2.673, allocations: 51.89 MB / 0.8982 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/16.24, allocations: 12.69 kB / 0.8982 GB, free: 4.598 MB / 0.7325 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)