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.8762/0.8762, allocations: 153.9 MB / 172.7 MB, free: 4.949 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.0005628/0.0005628, allocations: 15.97 kB / 249.9 MB, free: 4.457 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1775, allocations: 33.36 MB / 283.2 MB, free: 1.812 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.871/2.048, allocations: 307.7 MB / 0.577 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03201/2.08, allocations: 31.53 MB / 0.6078 GB, free: 496 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/2.081, allocations: 2.188 kB / 0.6078 GB, free: 496 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/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.0004385/2.081, allocations: 136.7 kB / 0.6079 GB, free: 424 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/2.081, allocations: 123.9 kB / 0.6081 GB, free: 348 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.02313/2.104, allocations: 8.684 MB / 0.6165 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007476/2.105, allocations: 447.4 kB / 0.617 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/2.106, allocations: 171.8 kB / 0.6171 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/2.106, allocations: 200 kB / 0.6173 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/2.106, allocations: 182.3 kB / 0.6175 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.08e-05/2.106, allocations: 31.06 kB / 0.6175 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03159/2.138, allocations: 15.17 MB / 0.6323 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000239/2.138, allocations: 186.1 kB / 0.6325 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003443/2.138, allocations: 293.8 kB / 0.6328 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01801/2.156, allocations: 7.966 MB / 0.6406 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/2.156, allocations: 1.875 kB / 0.6406 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/2.156, allocations: 0 / 0.6406 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.101e-05/2.156, allocations: 0 / 0.6406 GB, free: 4.309 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.004517/2.161, allocations: 1.842 MB / 0.6424 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/2.161, allocations: 8.75 kB / 0.6424 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.366e-05/2.161, allocations: 70.53 kB / 0.6424 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/2.161, allocations: 97.5 kB / 0.6425 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/2.162, allocations: 377.3 kB / 0.6429 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/2.162, allocations: 24.66 kB / 0.6429 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/2.162, allocations: 32 kB / 0.643 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009643/2.163, allocations: 0.5711 MB / 0.6435 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/2.163, allocations: 0 / 0.6435 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/2.163, allocations: 12 kB / 0.6435 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/2.163, allocations: 12.56 kB / 0.6435 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/2.164, allocations: 0.6192 MB / 0.6441 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/2.166, allocations: 2.256 MB / 0.6463 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/2.168, allocations: 0.769 MB / 0.6471 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/2.168, allocations: 279.7 kB / 0.6474 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0922/2.26, allocations: 22.53 MB / 0.6694 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/2.261, allocations: 34.56 kB / 0.6694 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 4.619e-06/2.261, allocations: 0 / 0.6694 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.006405/2.267, allocations: 1.463 MB / 0.6708 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/2.267, allocations: 55.41 kB / 0.6709 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/2.268, allocations: 0.8063 MB / 0.6717 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/2.268, allocations: 29.7 kB / 0.6717 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004572/2.269, allocations: 384.7 kB / 0.6721 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/2.269, allocations: 134.8 kB / 0.6722 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/2.269, allocations: 61.69 kB / 0.6722 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001761/2.269, allocations: 326.8 kB / 0.6726 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006471/2.27, allocations: 263.8 kB / 0.6728 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007068/2.271, allocations: 313 kB / 0.6731 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/2.272, allocations: 0.5802 MB / 0.6737 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/2.272, allocations: 0 / 0.6737 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002406/2.274, allocations: 0.8898 MB / 0.6745 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/2.275, allocations: 8 kB / 0.6745 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/2.275, allocations: 0 / 0.6745 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006351/2.281, allocations: 0.8057 MB / 0.6753 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/2.281, allocations: 33.75 kB / 0.6754 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/2.284, allocations: 1.274 MB / 0.6766 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/2.284, allocations: 51.66 kB / 0.6767 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/2.284, allocations: 16 kB / 0.6767 GB, free: 14.96 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 (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.0004886/2.285, allocations: 245.6 kB / 0.6769 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/2.285, allocations: 89.17 kB / 0.677 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002768/2.288, allocations: 1.034 MB / 0.678 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002212/2.29, allocations: 0.8534 MB / 0.6788 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/2.29, allocations: 0 / 0.6788 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/2.29, allocations: 3.984 kB / 0.6788 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004271/2.294, allocations: 1.861 MB / 0.6807 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/2.294, allocations: 0 / 0.6807 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/2.294, allocations: 41.3 kB / 0.6807 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003356/2.298, allocations: 0.5582 MB / 0.6812 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/2.298, allocations: 12 kB / 0.6813 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/2.3, allocations: 1.306 MB / 0.6825 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.3, allocations: 0.6562 kB / 0.6825 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/2.302, allocations: 1.044 MB / 0.6836 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/2.303, allocations: 107.2 kB / 0.6837 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/2.303, allocations: 11.94 kB / 0.6837 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/2.303, allocations: 23.97 kB / 0.6837 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/2.303, allocations: 27.89 kB / 0.6837 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/2.303, allocations: 12.88 kB / 0.6837 GB, free: 7.613 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001081/2.304, allocations: 0.5699 MB / 0.6843 GB, free: 7.051 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/2.304, allocations: 0 / 0.6843 GB, free: 7.051 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003759/2.308, allocations: 1.154 MB / 0.6854 GB, free: 5.895 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.01028/2.318, allocations: 3.116 MB / 0.6885 GB, free: 2.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002206/2.321, allocations: 0.6936 MB / 0.6891 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/2.321, allocations: 0 / 0.6891 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/2.322, allocations: 388.1 kB / 0.6895 GB, free: 1.699 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/2.323, allocations: 105.2 kB / 0.6896 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/2.34, allocations: 7.678 MB / 0.6971 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008812/2.341, allocations: 0.981 MB / 0.6981 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002037/2.341, allocations: 32.14 kB / 0.6981 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/2.342, allocations: 267.3 kB / 0.6983 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of SimCode: time 1.783e-06/2.342, allocations: 0 / 0.6983 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1374/2.479, allocations: 52.48 MB / 0.7496 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.21/18.69, allocations: 5.375 kB / 0.7496 GB, free: 4.699 MB / 0.6075 GB " [Timeout remaining time 641] (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: 20.902640497999982] Failed to read output from testmodel.py, exit status != 0: 19.210681009000155 19.224152142 17.064654107 Calling exit ...