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.9153/0.9153, allocations: 153.8 MB / 172.7 MB, free: 4.898 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.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 0.0005106/0.0005106, allocations: 11.97 kB / 249.8 MB, free: 4.398 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1997, allocations: 33.35 MB / 283.1 MB, free: 1.742 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.Fluid.Examples.SimpleExamples.TestBend): time 1.972/2.172, allocations: 307.7 MB / 0.577 GB, free: 17.36 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2305/2.402, allocations: 167.5 MB / 0.7406 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005145/2.403, allocations: 11.94 kB / 0.7406 GB, free: 13.47 MB / 0.6075 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.0004597/2.403, allocations: 203.8 kB / 0.7408 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000556/2.404, allocations: 290.6 kB / 0.7411 GB, free: 12.99 MB / 0.6075 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.0347/2.439, allocations: 12.44 MB / 0.7532 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001113/2.44, allocations: 0.5497 MB / 0.7538 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/2.44, allocations: 239.3 kB / 0.754 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/2.441, allocations: 275.1 kB / 0.7542 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004632/2.441, allocations: 354.8 kB / 0.7546 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.028e-05/2.441, allocations: 40 kB / 0.7546 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04005/2.481, allocations: 19.69 MB / 0.7738 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003438/2.481, allocations: 219.3 kB / 0.7741 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003659/2.482, allocations: 262.4 kB / 0.7743 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02846/2.51, allocations: 10.8 MB / 0.7849 GB, free: 84 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/2.51, allocations: 0 / 0.7849 GB, free: 84 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.282e-06/2.51, allocations: 0 / 0.7849 GB, free: 84 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.045e-05/2.51, allocations: 0 / 0.7849 GB, free: 84 kB / 0.6387 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.00614/2.516, allocations: 2.287 MB / 0.7871 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/2.516, allocations: 9.344 kB / 0.7871 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/2.517, allocations: 74.53 kB / 0.7872 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/2.517, allocations: 97.08 kB / 0.7873 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008669/2.518, allocations: 0.5208 MB / 0.7878 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/2.518, allocations: 29.75 kB / 0.7878 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/2.518, allocations: 44 kB / 0.7878 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007976/2.519, allocations: 0.5262 MB / 0.7884 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/2.519, allocations: 0 / 0.7884 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/2.519, allocations: 20 kB / 0.7884 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/2.519, allocations: 12 kB / 0.7884 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006565/2.519, allocations: 418.3 kB / 0.7888 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008901/2.528, allocations: 3.752 MB / 0.7924 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/2.529, allocations: 112.2 kB / 0.7926 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.106e-05/2.529, allocations: 36.84 kB / 0.7926 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4852/3.014, allocations: 88.72 MB / 0.8792 GB, free: 276.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/3.014, allocations: 34.31 kB / 0.8793 GB, free: 276.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 2.024e-06/3.014, allocations: 0 / 0.8793 GB, free: 276.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.001973/3.016, allocations: 409.8 kB / 0.8796 GB, free: 276.6 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/3.016, allocations: 102.8 kB / 0.8797 GB, free: 276.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/3.017, allocations: 1.129 MB / 0.8808 GB, free: 275.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/3.017, allocations: 25.7 kB / 0.8809 GB, free: 275.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/3.017, allocations: 405.2 kB / 0.8813 GB, free: 275.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/3.017, allocations: 39.16 kB / 0.8813 GB, free: 275.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/3.018, allocations: 85.67 kB / 0.8814 GB, free: 275.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/3.018, allocations: 378 kB / 0.8817 GB, free: 274.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/3.018, allocations: 130 kB / 0.8819 GB, free: 274.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/3.018, allocations: 307.2 kB / 0.8822 GB, free: 274.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/3.018, allocations: 323.7 kB / 0.8825 GB, free: 274.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/3.018, allocations: 0 / 0.8825 GB, free: 274.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001231/3.02, allocations: 0.5616 MB / 0.883 GB, free: 273.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/3.02, allocations: 11.94 kB / 0.883 GB, free: 273.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/3.02, allocations: 4 kB / 0.883 GB, free: 273.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/3.021, allocations: 194.3 kB / 0.8832 GB, free: 273.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/3.021, allocations: 55.91 kB / 0.8833 GB, free: 273.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004314/3.022, allocations: 0.6226 MB / 0.8839 GB, free: 272.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/3.022, allocations: 48.94 kB / 0.8839 GB, free: 272.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/3.022, allocations: 16 kB / 0.8839 GB, free: 272.7 MB / 0.6856 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.0002122/3.022, allocations: 273.5 kB / 0.8842 GB, free: 272.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/3.022, allocations: 79.52 kB / 0.8843 GB, free: 272.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005952/3.023, allocations: 268.2 kB / 0.8845 GB, free: 272.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/3.023, allocations: 0 / 0.8845 GB, free: 272.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/3.023, allocations: 0 / 0.8845 GB, free: 272.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/3.023, allocations: 0 / 0.8845 GB, free: 272.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/3.024, allocations: 0.7896 MB / 0.8853 GB, free: 271.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/3.024, allocations: 0 / 0.8853 GB, free: 271.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/3.024, allocations: 4 kB / 0.8853 GB, free: 271.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009881/3.025, allocations: 160.5 kB / 0.8855 GB, free: 271.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/3.025, allocations: 4.875 kB / 0.8855 GB, free: 271.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003983/3.026, allocations: 0.6303 MB / 0.8861 GB, free: 270.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/3.026, allocations: 0 / 0.8861 GB, free: 270.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/3.027, allocations: 427.7 kB / 0.8865 GB, free: 270 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/3.027, allocations: 113.7 kB / 0.8866 GB, free: 269.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.008e-05/3.027, allocations: 0 / 0.8866 GB, free: 269.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/3.027, allocations: 11.98 kB / 0.8866 GB, free: 269.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/3.027, allocations: 8.75 kB / 0.8866 GB, free: 269.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/3.027, allocations: 4 kB / 0.8866 GB, free: 269.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007006/3.028, allocations: 0.8153 MB / 0.8874 GB, free: 269.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/3.028, allocations: 0 / 0.8874 GB, free: 269.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003306/3.031, allocations: 1.675 MB / 0.889 GB, free: 267.7 MB / 0.6856 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.00649/3.038, allocations: 3.28 MB / 0.8923 GB, free: 264.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005089/3.038, allocations: 224.1 kB / 0.8925 GB, free: 264.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/3.038, allocations: 256 / 0.8925 GB, free: 264.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/3.039, allocations: 63.88 kB / 0.8925 GB, free: 264.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/3.039, allocations: 91.81 kB / 0.8926 GB, free: 264.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007892/3.047, allocations: 6.42 MB / 0.8989 GB, free: 257.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/3.047, allocations: 343.4 kB / 0.8992 GB, free: 257.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001745/3.047, allocations: 80.45 kB / 0.8993 GB, free: 257.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/3.048, allocations: 215.4 kB / 0.8995 GB, free: 257.2 MB / 0.6856 GB Notification: Performance of SimCode: time 1.092e-06/3.048, allocations: 0 / 0.8995 GB, free: 257.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0919/3.14, allocations: 61.38 MB / 0.9594 GB, free: 196.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/18.98, allocations: 8.547 kB / 0.9594 GB, free: 196.8 MB / 0.6856 GB " [Timeout remaining time 641] (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: 20.934240387752652] Failed to read output from testmodel.py, exit status != 0: 19.256245102267712 19.26656695 16.753872457 Calling exit ...