Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.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.8197/0.8197, allocations: 153.8 MB / 170.2 MB, free: 13.78 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.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.0004969, allocations: 19.33 kB / 246.3 MB, free: 14.91 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05794/0.05844, allocations: 33.34 MB / 279.7 MB, free: 15.14 MB / 238.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.TestCentrifugalPump13): time 1.751/1.809, allocations: 307.4 MB / 0.5733 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04011/1.85, allocations: 31.48 MB / 0.6041 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/1.85, allocations: 8 kB / 0.6041 GB, free: 10.83 MB / 494.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). Notification: Performance of NFTyping.typeComponents: time 0.0004415/1.85, allocations: 126.4 kB / 0.6042 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/1.85, allocations: 113.2 kB / 0.6043 GB, free: 10.6 MB / 494.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.02207/1.873, allocations: 8.621 MB / 0.6127 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006571/1.873, allocations: 442.4 kB / 0.6131 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/1.873, allocations: 156.5 kB / 0.6133 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003305/1.874, allocations: 199.2 kB / 0.6135 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/1.874, allocations: 187.2 kB / 0.6136 GB, free: 1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/1.874, allocations: 35.94 kB / 0.6137 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02721/1.901, allocations: 15.16 MB / 0.6285 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/1.902, allocations: 199.3 kB / 0.6287 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003375/1.902, allocations: 289.9 kB / 0.629 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01879/1.921, allocations: 7.97 MB / 0.6367 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.921, allocations: 0 / 0.6367 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/1.921, allocations: 0 / 0.6367 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.598e-05/1.921, allocations: 7.984 kB / 0.6367 GB, free: 9.301 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005167/1.926, allocations: 1.924 MB / 0.6386 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.926, allocations: 12.03 kB / 0.6386 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.477e-05/1.926, allocations: 66.53 kB / 0.6387 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/1.926, allocations: 103.3 kB / 0.6388 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/1.927, allocations: 431.2 kB / 0.6392 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/1.927, allocations: 24.66 kB / 0.6392 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/1.927, allocations: 28 kB / 0.6393 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008777/1.928, allocations: 482.5 kB / 0.6397 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.928, allocations: 0 / 0.6397 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/1.928, allocations: 12 kB / 0.6397 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/1.928, allocations: 19.92 kB / 0.6398 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009844/1.929, allocations: 490 kB / 0.6402 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/1.931, allocations: 1.852 MB / 0.642 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/1.932, allocations: 0.5817 MB / 0.6426 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/1.932, allocations: 192.8 kB / 0.6428 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08901/2.021, allocations: 47.06 MB / 0.6887 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/2.022, allocations: 38.55 kB / 0.6888 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.334e-06/2.022, allocations: 0 / 0.6888 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.003208/2.025, allocations: 1.05 MB / 0.6898 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/2.025, allocations: 59.41 kB / 0.6899 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/2.026, allocations: 0.8334 MB / 0.6907 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/2.026, allocations: 29.7 kB / 0.6907 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/2.026, allocations: 396.5 kB / 0.6911 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/2.026, allocations: 126.9 kB / 0.6912 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/2.026, allocations: 70.02 kB / 0.6913 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001449/2.027, allocations: 318 kB / 0.6916 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004293/2.027, allocations: 212.6 kB / 0.6918 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/2.027, allocations: 269.6 kB / 0.692 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000865/2.028, allocations: 472.8 kB / 0.6925 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/2.028, allocations: 4 kB / 0.6925 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001319/2.03, allocations: 0.6849 MB / 0.6932 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/2.03, allocations: 8 kB / 0.6932 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/2.03, allocations: 0 / 0.6932 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003932/2.034, allocations: 0.641 MB / 0.6938 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/2.034, allocations: 63.89 kB / 0.6938 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009534/2.035, allocations: 0.7669 MB / 0.6946 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/2.035, allocations: 63.64 kB / 0.6947 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/2.035, allocations: 19.92 kB / 0.6947 GB, free: 7.453 MB / 0.5762 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 (sinkP.C.a,sourceP.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 (26): * Single equations (assignments): 25 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002936/2.036, allocations: 241.7 kB / 0.6949 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/2.036, allocations: 87.44 kB / 0.695 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/2.037, allocations: 0.7834 MB / 0.6958 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001112/2.038, allocations: 0.5934 MB / 0.6963 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/2.038, allocations: 3.938 kB / 0.6963 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/2.038, allocations: 8.062 kB / 0.6963 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/2.041, allocations: 1.438 MB / 0.6977 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/2.041, allocations: 0 / 0.6977 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/2.041, allocations: 55.91 kB / 0.6978 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/2.043, allocations: 391.8 kB / 0.6982 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/2.043, allocations: 8 kB / 0.6982 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009448/2.044, allocations: 0.806 MB / 0.699 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/2.044, allocations: 0 / 0.699 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/2.045, allocations: 0.7591 MB / 0.6997 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/2.045, allocations: 192.3 kB / 0.6999 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/2.045, allocations: 12 kB / 0.6999 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/2.046, allocations: 19.97 kB / 0.6999 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/2.046, allocations: 27.91 kB / 0.7 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/2.046, allocations: 12 kB / 0.7 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006883/2.046, allocations: 0.5809 MB / 0.7005 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/2.046, allocations: 4 kB / 0.7005 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003145/2.05, allocations: 1.157 MB / 0.7017 GB, free: 144 kB / 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 (24): * Single equations (assignments): 23 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006258/2.056, allocations: 2.839 MB / 0.7044 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001388/2.057, allocations: 0.5842 MB / 0.705 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/2.057, allocations: 0 / 0.705 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000702/2.058, allocations: 293.3 kB / 0.7053 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/2.059, allocations: 90.98 kB / 0.7054 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/2.069, allocations: 6.725 MB / 0.7119 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006813/2.07, allocations: 0.9731 MB / 0.7129 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001785/2.07, allocations: 42.95 kB / 0.7129 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/2.07, allocations: 263.3 kB / 0.7132 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of SimCode: time 9.41e-07/2.07, allocations: 4 kB / 0.7132 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2649/2.335, allocations: 51.52 MB / 0.7635 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/17.23, allocations: 14.8 kB / 0.7635 GB, free: 183.1 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.127200171002187] Failed to read output from testmodel.py, exit status != 0: 17.48531461499806 17.495006419 15.57213317 Calling exit ...