Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.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.8836/0.8836, allocations: 153.8 MB / 172.7 MB, free: 4.867 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.TestCentrifugalPump8,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005209/0.0005209, allocations: 15.97 kB / 249.8 MB, free: 4.375 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1805, allocations: 33.35 MB / 283.2 MB, free: 1.738 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.TestCentrifugalPump8): time 1.897/2.077, allocations: 307.7 MB / 0.577 GB, free: 17.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03227/2.109, allocations: 27.72 MB / 0.6041 GB, free: 4.547 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004336/2.11, allocations: 2.188 kB / 0.6041 GB, free: 4.547 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/ElectroMechanics/BoundaryConditions/SourceAngularVelocity.mo:11:3-15: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.0005795/2.11, allocations: 111 kB / 0.6042 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005952/2.111, allocations: 119.4 kB / 0.6043 GB, free: 4.426 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.02389/2.135, allocations: 8.585 MB / 0.6127 GB, free: 92 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006943/2.136, allocations: 443.4 kB / 0.6131 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/2.136, allocations: 167.5 kB / 0.6133 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/2.136, allocations: 198.7 kB / 0.6135 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/2.137, allocations: 162.3 kB / 0.6136 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.859e-05/2.137, allocations: 30.16 kB / 0.6136 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0286/2.165, allocations: 14.27 MB / 0.6276 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002417/2.165, allocations: 195.9 kB / 0.6278 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002844/2.166, allocations: 214.4 kB / 0.628 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01983/2.186, allocations: 7.978 MB / 0.6358 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/2.186, allocations: 4 kB / 0.6358 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/2.186, allocations: 0 / 0.6358 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.018e-05/2.186, allocations: 0.625 kB / 0.6358 GB, free: 9.148 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004633/2.19, allocations: 1.839 MB / 0.6376 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/2.19, allocations: 8.875 kB / 0.6376 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.293e-05/2.19, allocations: 70.53 kB / 0.6376 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/2.19, allocations: 95.34 kB / 0.6377 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/2.191, allocations: 373.4 kB / 0.6381 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/2.191, allocations: 30.58 kB / 0.6381 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/2.191, allocations: 32 kB / 0.6381 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000899/2.192, allocations: 0.5654 MB / 0.6387 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/2.192, allocations: 3.938 kB / 0.6387 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/2.192, allocations: 12 kB / 0.6387 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/2.192, allocations: 17.67 kB / 0.6387 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/2.193, allocations: 0.6163 MB / 0.6393 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/2.195, allocations: 2.04 MB / 0.6413 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/2.197, allocations: 0.7644 MB / 0.6421 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/2.197, allocations: 274.7 kB / 0.6423 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07741/2.275, allocations: 22.6 MB / 0.6644 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/2.275, allocations: 34.56 kB / 0.6644 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.364e-06/2.275, allocations: 0 / 0.6644 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.004331/2.279, allocations: 1.473 MB / 0.6659 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/2.279, allocations: 63.41 kB / 0.6659 GB, free: 10 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/2.28, allocations: 0.8101 MB / 0.6667 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/2.28, allocations: 29.7 kB / 0.6668 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/2.28, allocations: 372.8 kB / 0.6671 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/2.281, allocations: 134.8 kB / 0.6672 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/2.281, allocations: 65.69 kB / 0.6673 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00016/2.281, allocations: 322.8 kB / 0.6676 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/2.281, allocations: 260.6 kB / 0.6679 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/2.282, allocations: 313.6 kB / 0.6682 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009123/2.283, allocations: 0.5763 MB / 0.6687 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/2.283, allocations: 3.938 kB / 0.6687 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001557/2.284, allocations: 0.8898 MB / 0.6696 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/2.284, allocations: 4 kB / 0.6696 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/2.284, allocations: 0 / 0.6696 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004268/2.288, allocations: 0.8061 MB / 0.6704 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/2.289, allocations: 41.27 kB / 0.6704 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/2.29, allocations: 1.275 MB / 0.6717 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/2.291, allocations: 47.7 kB / 0.6717 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/2.291, allocations: 12 kB / 0.6717 GB, free: 3.984 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 (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 (18): * Single equations (assignments): 17 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003829/2.291, allocations: 253.6 kB / 0.672 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/2.291, allocations: 91.39 kB / 0.6721 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/2.293, allocations: 1.025 MB / 0.6731 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001445/2.295, allocations: 0.8583 MB / 0.6739 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/2.295, allocations: 0 / 0.6739 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/2.295, allocations: 4 kB / 0.6739 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/2.298, allocations: 1.816 MB / 0.6757 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/2.298, allocations: 0 / 0.6757 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/2.298, allocations: 39.98 kB / 0.6757 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002225/2.3, allocations: 0.561 MB / 0.6763 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/2.3, allocations: 4.875 kB / 0.6763 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/2.302, allocations: 1.303 MB / 0.6775 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/2.302, allocations: 2.812 kB / 0.6775 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/2.303, allocations: 1.044 MB / 0.6786 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/2.304, allocations: 115.8 kB / 0.6787 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/2.304, allocations: 7.938 kB / 0.6787 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/2.304, allocations: 23.97 kB / 0.6787 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/2.304, allocations: 24.64 kB / 0.6787 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/2.304, allocations: 12 kB / 0.6787 GB, free: 12.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006898/2.305, allocations: 0.5653 MB / 0.6793 GB, free: 12.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/2.305, allocations: 4.938 kB / 0.6793 GB, free: 12.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003075/2.308, allocations: 1.154 MB / 0.6804 GB, free: 10.96 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 (22): * Single equations (assignments): 21 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007099/2.315, allocations: 3.101 MB / 0.6834 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001601/2.316, allocations: 0.7063 MB / 0.6841 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/2.316, allocations: 0 / 0.6841 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007712/2.317, allocations: 380.4 kB / 0.6845 GB, free: 6.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006987/2.318, allocations: 100.8 kB / 0.6846 GB, free: 6.684 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/2.33, allocations: 7.675 MB / 0.6921 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/2.33, allocations: 389.4 kB / 0.6925 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001484/2.331, allocations: 33.69 kB / 0.6925 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/2.331, allocations: 267.3 kB / 0.6927 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/2.331, allocations: 0 / 0.6927 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/2.433, allocations: 51.76 MB / 0.7433 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/17.48, allocations: 3.781 kB / 0.7433 GB, free: 11.12 MB / 0.6075 GB " [Timeout remaining time 642] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8_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_TestCentrifugalPump8.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.66456297924742] Failed to read output from testmodel.py, exit status != 0: 17.817107802722603 18.054631291 15.866389444 Calling exit ...