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.8295/0.8295, allocations: 153.8 MB / 172.7 MB, free: 4.887 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.0004946/0.0004946, allocations: 15.97 kB / 249.8 MB, free: 4.379 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.164, allocations: 33.35 MB / 283.1 MB, free: 1.746 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.TestCentrifugalPump13): time 1.802/1.966, allocations: 307.7 MB / 0.577 GB, free: 17.38 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02843/1.994, allocations: 27.72 MB / 0.604 GB, free: 4.578 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/1.995, allocations: 2.281 kB / 0.604 GB, free: 4.578 MB / 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). Notification: Performance of NFTyping.typeComponents: time 0.0004026/1.995, allocations: 103.8 kB / 0.6041 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/1.995, allocations: 114.5 kB / 0.6042 GB, free: 4.469 MB / 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.02257/2.018, allocations: 8.583 MB / 0.6126 GB, free: 168 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000662/2.018, allocations: 440.9 kB / 0.613 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/2.019, allocations: 160.9 kB / 0.6132 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/2.019, allocations: 204.5 kB / 0.6134 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/2.019, allocations: 168.9 kB / 0.6136 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.397e-05/2.019, allocations: 31.22 kB / 0.6136 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02911/2.048, allocations: 14.29 MB / 0.6275 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000257/2.049, allocations: 195.2 kB / 0.6277 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002818/2.049, allocations: 212.4 kB / 0.6279 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01885/2.068, allocations: 7.982 MB / 0.6357 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/2.068, allocations: 7.984 kB / 0.6357 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/2.068, allocations: 3.938 kB / 0.6357 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.044e-05/2.068, allocations: 0 / 0.6357 GB, free: 9.18 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.004967/2.073, allocations: 1.843 MB / 0.6375 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/2.073, allocations: 12.03 kB / 0.6375 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.786e-05/2.073, allocations: 70.53 kB / 0.6376 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/2.073, allocations: 98.06 kB / 0.6377 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/2.074, allocations: 365.4 kB / 0.6381 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/2.074, allocations: 33.44 kB / 0.6381 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/2.074, allocations: 24 kB / 0.6381 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008998/2.075, allocations: 480.7 kB / 0.6386 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/2.075, allocations: 0 / 0.6386 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/2.075, allocations: 12 kB / 0.6386 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/2.075, allocations: 18.72 kB / 0.6386 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009331/2.076, allocations: 494.9 kB / 0.6391 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/2.078, allocations: 1.556 MB / 0.6406 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/2.079, allocations: 0.5025 MB / 0.6411 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/2.079, allocations: 196.8 kB / 0.6413 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0791/2.159, allocations: 22.6 MB / 0.6633 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/2.159, allocations: 48.3 kB / 0.6634 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.364e-06/2.159, allocations: 4 kB / 0.6634 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.003156/2.162, allocations: 0.9718 MB / 0.6643 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/2.162, allocations: 55.34 kB / 0.6644 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/2.163, allocations: 0.8296 MB / 0.6652 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/2.163, allocations: 33.69 kB / 0.6652 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/2.163, allocations: 392.5 kB / 0.6656 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/2.163, allocations: 130.9 kB / 0.6657 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/2.163, allocations: 71.14 kB / 0.6658 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001359/2.164, allocations: 322 kB / 0.6661 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/2.164, allocations: 212.6 kB / 0.6663 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/2.164, allocations: 268.2 kB / 0.6666 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008534/2.165, allocations: 472.9 kB / 0.667 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/2.165, allocations: 0 / 0.667 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001305/2.167, allocations: 0.6738 MB / 0.6677 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/2.167, allocations: 16.09 kB / 0.6677 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/2.167, allocations: 0 / 0.6677 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003927/2.171, allocations: 0.6456 MB / 0.6683 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/2.171, allocations: 61.12 kB / 0.6684 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009591/2.172, allocations: 0.7762 MB / 0.6691 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/2.172, allocations: 60.61 kB / 0.6692 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/2.172, allocations: 16 kB / 0.6692 GB, free: 6.594 MB / 0.5294 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.0003164/2.173, allocations: 253.6 kB / 0.6694 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/2.173, allocations: 84 kB / 0.6695 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/2.174, allocations: 0.7783 MB / 0.6703 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00108/2.175, allocations: 0.5896 MB / 0.6709 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/2.175, allocations: 0 / 0.6709 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/2.175, allocations: 5.984 kB / 0.6709 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/2.178, allocations: 1.363 MB / 0.6722 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/2.178, allocations: 4 kB / 0.6722 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/2.178, allocations: 59.89 kB / 0.6723 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/2.18, allocations: 389.3 kB / 0.6726 GB, free: 3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/2.18, allocations: 12 kB / 0.6726 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009795/2.181, allocations: 0.8163 MB / 0.6734 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/2.181, allocations: 0 / 0.6734 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/2.182, allocations: 0.763 MB / 0.6742 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/2.182, allocations: 107.3 kB / 0.6743 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/2.182, allocations: 8 kB / 0.6743 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/2.183, allocations: 27.91 kB / 0.6743 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/2.183, allocations: 33.36 kB / 0.6744 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/2.183, allocations: 8 kB / 0.6744 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006982/2.183, allocations: 0.5848 MB / 0.6749 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/2.183, allocations: 0 / 0.6749 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002893/2.186, allocations: 1.165 MB / 0.6761 GB, free: 15.44 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 (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.006901/2.193, allocations: 2.838 MB / 0.6788 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001525/2.195, allocations: 0.5747 MB / 0.6794 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/2.195, allocations: 3.938 kB / 0.6794 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007005/2.195, allocations: 303.8 kB / 0.6797 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000711/2.196, allocations: 88.52 kB / 0.6798 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/2.207, allocations: 6.702 MB / 0.6863 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/2.207, allocations: 381.4 kB / 0.6867 GB, free: 4.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001964/2.207, allocations: 44.19 kB / 0.6867 GB, free: 4.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/2.208, allocations: 255.3 kB / 0.687 GB, free: 4.098 MB / 0.545 GB Notification: Performance of SimCode: time 7.32e-07/2.208, allocations: 0 / 0.687 GB, free: 4.098 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09637/2.304, allocations: 51.53 MB / 0.7373 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/17.49, allocations: 3.938 kB / 0.7373 GB, free: 1.281 MB / 0.5919 GB " [Timeout remaining time 642] (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.65331669105217] Failed to read output from testmodel.py, exit status != 0: 17.81239031208679 18.061748527 15.990834288 Calling exit ...