Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.879/0.879, allocations: 153.9 MB / 172.7 MB, free: 4.941 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005433/0.0005433, allocations: 11.97 kB / 249.9 MB, free: 4.465 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1864, allocations: 33.36 MB / 283.2 MB, free: 1.844 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9): time 1.863/2.05, allocations: 307.6 MB / 0.577 GB, free: 15.99 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03012/2.08, allocations: 31.51 MB / 0.6077 GB, free: 316 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000305/2.08, allocations: 2.844 kB / 0.6077 GB, free: 316 kB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:117:3-119: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 master/WaterSteam/Machines/CentrifugalPump.mo:120:3-122: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 master/WaterSteam/Machines/CentrifugalPump.mo:126:3-130:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52: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 master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16: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 master/ElectroMechanics/BoundaryConditions/SourceMechanicalPower.mo:5:3-9:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004209/2.081, allocations: 132.4 kB / 0.6079 GB, free: 248 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/2.081, allocations: 122.6 kB / 0.608 GB, free: 172 kB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.02339/2.104, allocations: 8.687 MB / 0.6165 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006622/2.105, allocations: 420.8 kB / 0.6169 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/2.105, allocations: 159.2 kB / 0.617 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/2.105, allocations: 187.9 kB / 0.6172 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/2.106, allocations: 171.3 kB / 0.6174 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.47e-05/2.106, allocations: 29.94 kB / 0.6174 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02969/2.135, allocations: 15.17 MB / 0.6322 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/2.136, allocations: 179.3 kB / 0.6324 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/2.136, allocations: 281.9 kB / 0.6326 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01861/2.155, allocations: 7.954 MB / 0.6404 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/2.155, allocations: 0 / 0.6404 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/2.155, allocations: 0 / 0.6404 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.074e-05/2.155, allocations: 0.7188 kB / 0.6404 GB, free: 4.168 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.004461/2.159, allocations: 1.818 MB / 0.6422 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/2.159, allocations: 8.031 kB / 0.6422 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.28e-05/2.159, allocations: 71.47 kB / 0.6423 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/2.159, allocations: 92.02 kB / 0.6423 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/2.16, allocations: 377.3 kB / 0.6427 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/2.16, allocations: 28.66 kB / 0.6427 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/2.16, allocations: 28 kB / 0.6428 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008375/2.161, allocations: 0.5537 MB / 0.6433 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/2.161, allocations: 6.562 kB / 0.6433 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/2.161, allocations: 12 kB / 0.6433 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/2.161, allocations: 12 kB / 0.6433 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008954/2.162, allocations: 0.5764 MB / 0.6439 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/2.164, allocations: 2.238 MB / 0.6461 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/2.165, allocations: 0.75 MB / 0.6468 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/2.166, allocations: 266.6 kB / 0.6471 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07561/2.241, allocations: 22.53 MB / 0.6691 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/2.241, allocations: 38.8 kB / 0.6691 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 3.046e-06/2.241, allocations: 0 / 0.6691 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.005455/2.247, allocations: 1.736 MB / 0.6708 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/2.247, allocations: 55.88 kB / 0.6708 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009443/2.248, allocations: 0.7984 MB / 0.6716 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/2.248, allocations: 29.7 kB / 0.6717 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/2.248, allocations: 364.8 kB / 0.672 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/2.248, allocations: 138.7 kB / 0.6721 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/2.248, allocations: 61.7 kB / 0.6722 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001505/2.249, allocations: 326.5 kB / 0.6725 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/2.249, allocations: 239.9 kB / 0.6727 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/2.249, allocations: 301 kB / 0.673 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007962/2.25, allocations: 0.5599 MB / 0.6736 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.25, allocations: 0 / 0.6736 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001397/2.252, allocations: 0.9269 MB / 0.6745 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/2.252, allocations: 9.031 kB / 0.6745 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/2.252, allocations: 1.25 kB / 0.6745 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004887/2.257, allocations: 1.011 MB / 0.6755 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/2.257, allocations: 15.88 kB / 0.6755 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/2.259, allocations: 1.793 MB / 0.6772 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/2.259, allocations: 43.69 kB / 0.6773 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/2.259, allocations: 11.98 kB / 0.6773 GB, free: 14.01 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (sink.C.a,sourcePQ.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 {(5,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002981/2.259, allocations: 242.6 kB / 0.6775 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/2.259, allocations: 92.09 kB / 0.6776 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/2.261, allocations: 1.096 MB / 0.6787 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001412/2.263, allocations: 0.9178 MB / 0.6796 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/2.263, allocations: 0 / 0.6796 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/2.263, allocations: 0 / 0.6796 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/2.266, allocations: 2.023 MB / 0.6816 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/2.266, allocations: 0 / 0.6816 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/2.266, allocations: 24.67 kB / 0.6816 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002618/2.268, allocations: 0.7433 MB / 0.6823 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/2.268, allocations: 15.98 kB / 0.6823 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/2.27, allocations: 1.814 MB / 0.6841 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/2.27, allocations: 0 / 0.6841 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/2.272, allocations: 1.134 MB / 0.6852 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/2.272, allocations: 107.3 kB / 0.6853 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/2.272, allocations: 8.688 kB / 0.6853 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/2.273, allocations: 25.7 kB / 0.6853 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/2.273, allocations: 15.95 kB / 0.6853 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/2.273, allocations: 12 kB / 0.6854 GB, free: 5.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007049/2.273, allocations: 0.5614 MB / 0.6859 GB, free: 5.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/2.273, allocations: 0 / 0.6859 GB, free: 5.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003027/2.276, allocations: 1.15 MB / 0.687 GB, free: 3.918 MB / 0.545 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 (15): * Single equations (assignments): 14 * 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 {(5,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006846/2.283, allocations: 3.195 MB / 0.6901 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00148/2.285, allocations: 0.6929 MB / 0.6908 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/2.285, allocations: 0 / 0.6908 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007803/2.286, allocations: 401.3 kB / 0.6912 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/2.286, allocations: 98.23 kB / 0.6913 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/2.298, allocations: 7.682 MB / 0.6988 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/2.299, allocations: 0.981 MB / 0.6998 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000116/2.299, allocations: 25.33 kB / 0.6998 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/2.299, allocations: 259.3 kB / 0.7 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/2.299, allocations: 0 / 0.7 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/2.401, allocations: 52.79 MB / 0.7516 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/18.96, allocations: 3.984 kB / 0.7516 GB, free: 2.312 MB / 0.6075 GB " [Timeout remaining time 640] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump9_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump9.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.31686712591909] Failed to read output from testmodel.py, exit status != 0: 19.52934395079501 19.542779315 17.385174119 Calling exit ...