Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.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.5718/0.5718, allocations: 120.4 MB / 139.5 MB, free: 12.99 MB / 138.7 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.Fluid.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 216.7 MB, free: 8.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.625e-05, allocations: 3.281 kB / 216.7 MB, free: 8.598 MB / 202.7 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.Fluid.Examples.SimpleExamples.TestBend): time 1.096/1.096, allocations: 254.5 MB / 471.2 MB, free: 8.703 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.5339/1.63, allocations: 167.5 MB / 0.6237 GB, free: 8.395 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/1.63, allocations: 7.938 kB / 0.6237 GB, free: 8.387 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:57:3-58:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:59:3-60:67:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002575/1.63, allocations: 207.2 kB / 0.6239 GB, free: 8.184 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003114/1.631, allocations: 290.5 kB / 0.6242 GB, free: 7.898 MB / 0.5573 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.02765/1.658, allocations: 12.58 MB / 0.6365 GB, free: 11.31 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0006708/1.659, allocations: 0.5573 MB / 0.637 GB, free: 10.75 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/1.659, allocations: 237.2 kB / 0.6373 GB, free: 10.52 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/1.659, allocations: 367.1 kB / 0.6376 GB, free: 10.16 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/1.66, allocations: 331.3 kB / 0.6379 GB, free: 9.836 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/1.66, allocations: 40 kB / 0.638 GB, free: 9.797 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02753/1.687, allocations: 19.75 MB / 0.6573 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/1.687, allocations: 215.3 kB / 0.6575 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/1.688, allocations: 195.4 kB / 0.6576 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.02336/1.711, allocations: 13.42 MB / 0.6707 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.711, allocations: 0 / 0.6707 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/1.711, allocations: 4 kB / 0.6708 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.288e-06/1.711, allocations: 0.6562 kB / 0.6708 GB, free: 8.16 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.004192/1.715, allocations: 2.275 MB / 0.673 GB, free: 5.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/1.715, allocations: 8.031 kB / 0.673 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/1.715, allocations: 82.52 kB / 0.6731 GB, free: 5.742 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/1.715, allocations: 91.94 kB / 0.6731 GB, free: 5.652 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/1.716, allocations: 0.5208 MB / 0.6737 GB, free: 5.102 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/1.716, allocations: 32.94 kB / 0.6737 GB, free: 5.066 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/1.716, allocations: 37.12 kB / 0.6737 GB, free: 5.031 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/1.717, allocations: 0.534 MB / 0.6742 GB, free: 4.457 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.717, allocations: 1.125 kB / 0.6742 GB, free: 4.457 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/1.717, allocations: 16 kB / 0.6743 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/1.717, allocations: 14.77 kB / 0.6743 GB, free: 4.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/1.717, allocations: 414.3 kB / 0.6747 GB, free: 4.023 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004418/1.721, allocations: 3.739 MB / 0.6783 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/1.722, allocations: 114.6 kB / 0.6784 GB, free: 100 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/1.722, allocations: 37.94 kB / 0.6785 GB, free: 60 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3897/2.111, allocations: 88.7 MB / 0.7651 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/2.111, allocations: 43.2 kB / 0.7651 GB, free: 287.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=11): time 4.147e-06/2.111, allocations: 0 / 0.7651 GB, free: 287.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.001411/2.113, allocations: 387.5 kB / 0.7655 GB, free: 287.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/2.113, allocations: 118.8 kB / 0.7656 GB, free: 286.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/2.114, allocations: 1.127 MB / 0.7667 GB, free: 285.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/2.114, allocations: 29.7 kB / 0.7667 GB, free: 285.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/2.114, allocations: 397.1 kB / 0.7671 GB, free: 285.4 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/2.114, allocations: 37.05 kB / 0.7672 GB, free: 285.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/2.114, allocations: 81.59 kB / 0.7672 GB, free: 285.3 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.465e-05/2.114, allocations: 382.5 kB / 0.7676 GB, free: 284.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/2.114, allocations: 124.8 kB / 0.7677 GB, free: 284.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/2.115, allocations: 315.3 kB / 0.768 GB, free: 284.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/2.115, allocations: 326.5 kB / 0.7683 GB, free: 284.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/2.115, allocations: 0 / 0.7683 GB, free: 284.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007622/2.116, allocations: 0.5608 MB / 0.7689 GB, free: 283.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/2.116, allocations: 8 kB / 0.7689 GB, free: 283.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/2.116, allocations: 4.781 kB / 0.7689 GB, free: 283.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007805/2.116, allocations: 193.3 kB / 0.7691 GB, free: 283.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/2.116, allocations: 56.78 kB / 0.7691 GB, free: 283.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003596/2.117, allocations: 0.6315 MB / 0.7697 GB, free: 282.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/2.117, allocations: 47.38 kB / 0.7698 GB, free: 282.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/2.117, allocations: 16 kB / 0.7698 GB, free: 282.6 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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 {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002198/2.117, allocations: 264.6 kB / 0.7701 GB, free: 282.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/2.117, allocations: 76.03 kB / 0.7701 GB, free: 282.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/2.118, allocations: 276.5 kB / 0.7704 GB, free: 282 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/2.118, allocations: 0 / 0.7704 GB, free: 282 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/2.118, allocations: 0.5625 kB / 0.7704 GB, free: 282 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/2.118, allocations: 0.5469 kB / 0.7704 GB, free: 282 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009501/2.119, allocations: 0.7919 MB / 0.7712 GB, free: 281.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/2.119, allocations: 0 / 0.7712 GB, free: 281.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/2.119, allocations: 4.844 kB / 0.7712 GB, free: 281.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005082/2.119, allocations: 155.8 kB / 0.7713 GB, free: 281 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/2.119, allocations: 8 kB / 0.7713 GB, free: 281 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003091/2.12, allocations: 0.6321 MB / 0.7719 GB, free: 280.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/2.12, allocations: 0 / 0.7719 GB, free: 280.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/2.12, allocations: 418.2 kB / 0.7723 GB, free: 279.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/2.12, allocations: 116.8 kB / 0.7725 GB, free: 279.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/2.12, allocations: 0.625 kB / 0.7725 GB, free: 279.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/2.12, allocations: 4 kB / 0.7725 GB, free: 279.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/2.12, allocations: 23.91 kB / 0.7725 GB, free: 279.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/2.12, allocations: 5.406 kB / 0.7725 GB, free: 279.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000542/2.121, allocations: 0.8114 MB / 0.7733 GB, free: 278.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/2.121, allocations: 1.203 kB / 0.7733 GB, free: 278.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003868/2.125, allocations: 1.674 MB / 0.7749 GB, free: 277.5 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 2 * 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 {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0059/2.131, allocations: 3.503 MB / 0.7783 GB, free: 274.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003889/2.131, allocations: 239.8 kB / 0.7786 GB, free: 274.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/2.131, allocations: 4 kB / 0.7786 GB, free: 274.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 8.039e-05/2.131, allocations: 51.95 kB / 0.7786 GB, free: 274.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/2.132, allocations: 96.03 kB / 0.7787 GB, free: 274.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005854/2.137, allocations: 6.393 MB / 0.785 GB, free: 267.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/2.138, allocations: 345.9 kB / 0.7853 GB, free: 267.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00013/2.138, allocations: 76.66 kB / 0.7854 GB, free: 267.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/2.138, allocations: 216.4 kB / 0.7856 GB, free: 266.9 MB / 0.6667 GB Notification: Performance of SimCode: time 1.553e-06/2.138, allocations: 0 / 0.7856 GB, free: 266.9 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08083/2.219, allocations: 61.77 MB / 0.8459 GB, free: 205.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.202/11.42, allocations: 14.72 kB / 0.8459 GB, free: 205.5 MB / 0.6667 GB " [Timeout remaining time 648] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend_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_Fluid_Examples_SimpleExamples_TestBend.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.039642150513828] Failed to read output from testmodel.py, exit status != 0: 11.808893453329802 11.686944917 9.97387805 Calling exit ...