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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.7966/0.7966, allocations: 153.9 MB / 173.5 MB, free: 4.973 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.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004853, allocations: 15.97 kB / 250.6 MB, free: 4.461 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1651, allocations: 33.36 MB / 284 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.TestStaticCentrifugalPump1): time 1.753/1.918, allocations: 307.4 MB / 0.5776 GB, free: 16.04 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03272/1.951, allocations: 34.7 MB / 0.6114 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/1.951, allocations: 2.5 kB / 0.6114 GB, free: 14.47 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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.0004601/1.952, allocations: 138.4 kB / 0.6116 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/1.952, allocations: 124 kB / 0.6117 GB, free: 14.32 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.027/1.979, allocations: 9.844 MB / 0.6213 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007278/1.98, allocations: 402.2 kB / 0.6217 GB, free: 8.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/1.98, allocations: 115.3 kB / 0.6218 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/1.98, allocations: 179.2 kB / 0.622 GB, free: 8.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/1.981, allocations: 143.3 kB / 0.6221 GB, free: 7.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/1.981, allocations: 20 kB / 0.6221 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.035/2.016, allocations: 17.91 MB / 0.6396 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.902e-05/2.016, allocations: 51.78 kB / 0.6397 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002317/2.016, allocations: 155.2 kB / 0.6398 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02123/2.037, allocations: 8.474 MB / 0.6481 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/2.037, allocations: 4.656 kB / 0.6481 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.933e-06/2.037, allocations: 4 kB / 0.6481 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.537e-05/2.037, allocations: 0 / 0.6481 GB, free: 13.27 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004677/2.042, allocations: 1.466 MB / 0.6495 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/2.042, allocations: 8.031 kB / 0.6495 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.141e-05/2.042, allocations: 8.5 kB / 0.6495 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.714e-05/2.042, allocations: 66.53 kB / 0.6496 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.429e-05/2.042, allocations: 43.48 kB / 0.6497 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/2.042, allocations: 196.6 kB / 0.6498 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/2.042, allocations: 18 kB / 0.6499 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/2.042, allocations: 20 kB / 0.6499 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/2.043, allocations: 343.8 kB / 0.6502 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/2.043, allocations: 0 / 0.6502 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/2.043, allocations: 11.94 kB / 0.6502 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/2.043, allocations: 15.98 kB / 0.6502 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/2.044, allocations: 224.9 kB / 0.6504 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03529/2.079, allocations: 11.23 MB / 0.6614 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/2.079, allocations: 182.5 kB / 0.6616 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/2.08, allocations: 100.8 kB / 0.6617 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1476/2.227, allocations: 43.41 MB / 0.7041 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/2.227, allocations: 38.56 kB / 0.7041 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.996e-06/2.227, allocations: 0.8438 kB / 0.7041 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41): time 0.004295/2.231, allocations: 0.8691 MB / 0.705 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/2.232, allocations: 55.41 kB / 0.705 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/2.232, allocations: 241.9 kB / 0.7052 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/2.232, allocations: 25.7 kB / 0.7053 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/2.232, allocations: 164.7 kB / 0.7054 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/2.232, allocations: 138.8 kB / 0.7056 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/2.232, allocations: 61.64 kB / 0.7056 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002086/2.233, allocations: 342.8 kB / 0.7059 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/2.233, allocations: 97.62 kB / 0.706 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/2.233, allocations: 156 kB / 0.7062 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/2.234, allocations: 273.4 kB / 0.7064 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/2.234, allocations: 0 / 0.7064 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002418/2.236, allocations: 0.5954 MB / 0.707 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/2.236, allocations: 8 kB / 0.707 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/2.236, allocations: 3.984 kB / 0.707 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008238/2.237, allocations: 223.4 kB / 0.7073 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/2.237, allocations: 15.98 kB / 0.7073 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009891/2.238, allocations: 0.745 MB / 0.708 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/2.238, allocations: 39.7 kB / 0.708 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/2.238, allocations: 8 kB / 0.708 GB, free: 15.46 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.0001652/2.238, allocations: 138.8 kB / 0.7082 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.027e-05/2.238, allocations: 31.75 kB / 0.7082 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/2.239, allocations: 0.7744 MB / 0.709 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005062/2.24, allocations: 287 kB / 0.7092 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/2.24, allocations: 11.88 kB / 0.7092 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/2.24, allocations: 3.984 kB / 0.7092 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/2.241, allocations: 0.8381 MB / 0.7101 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/2.241, allocations: 0 / 0.7101 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/2.241, allocations: 21.42 kB / 0.7101 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006686/2.242, allocations: 200.2 kB / 0.7103 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/2.242, allocations: 11.98 kB / 0.7103 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008946/2.243, allocations: 0.7628 MB / 0.711 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/2.243, allocations: 4 kB / 0.711 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/2.244, allocations: 416 kB / 0.7114 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/2.244, allocations: 45.11 kB / 0.7115 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/2.244, allocations: 21.11 kB / 0.7115 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/2.244, allocations: 4 kB / 0.7115 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/2.244, allocations: 15.97 kB / 0.7115 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/2.244, allocations: 7.938 kB / 0.7115 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002897/2.244, allocations: 255 kB / 0.7118 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/2.244, allocations: 0 / 0.7118 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003501/2.248, allocations: 1.208 MB / 0.7129 GB, free: 10.25 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.007478/2.255, allocations: 2.6 MB / 0.7155 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009432/2.256, allocations: 295.9 kB / 0.7158 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/2.256, allocations: 0 / 0.7158 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003988/2.257, allocations: 136 kB / 0.7159 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008951/2.258, allocations: 135 kB / 0.716 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009633/2.267, allocations: 3.915 MB / 0.7199 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/2.268, allocations: 0.7795 MB / 0.7206 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000129/2.268, allocations: 24 kB / 0.7206 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/2.268, allocations: 100.5 kB / 0.7207 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/2.268, allocations: 0 / 0.7207 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09557/2.364, allocations: 49.51 MB / 0.7691 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/17.14, allocations: 12.3 kB / 0.7691 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 642] (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 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.3424042139668] Failed to read output from testmodel.py, exit status != 0: 17.695557576953433 17.705519788 15.665990235 Calling exit ...