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.8751/0.8751, allocations: 153.8 MB / 172.7 MB, free: 4.953 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.0006426/0.0006426, allocations: 11.98 kB / 249.8 MB, free: 4.477 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2586, allocations: 33.37 MB / 283.2 MB, free: 1.805 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 2.261/2.519, allocations: 307.7 MB / 0.5771 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2564/2.776, allocations: 194.1 MB / 0.7666 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006192/2.776, allocations: 11.94 kB / 0.7666 GB, free: 2.766 MB / 0.6231 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.0004415/2.777, allocations: 200.8 kB / 0.7668 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.000555/2.777, allocations: 286.6 kB / 0.7671 GB, free: 2.289 MB / 0.6231 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.03855/2.816, allocations: 12.64 MB / 0.7794 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001226/2.817, allocations: 0.5419 MB / 0.78 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004073/2.818, allocations: 237.1 kB / 0.7802 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004443/2.818, allocations: 275.1 kB / 0.7805 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/2.819, allocations: 390.8 kB / 0.7808 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/2.819, allocations: 44 kB / 0.7809 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05006/2.869, allocations: 21.21 MB / 0.8016 GB, free: 14.93 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000388/2.869, allocations: 223.3 kB / 0.8018 GB, free: 14.71 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004579/2.87, allocations: 337.9 kB / 0.8021 GB, free: 14.38 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03516/2.905, allocations: 10.81 MB / 0.8127 GB, free: 3.539 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/2.905, allocations: 4 kB / 0.8127 GB, free: 3.535 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.645e-06/2.905, allocations: 0 / 0.8127 GB, free: 3.535 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.272e-05/2.905, allocations: 0 / 0.8127 GB, free: 3.535 MB / 0.67 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.007443/2.912, allocations: 2.299 MB / 0.8149 GB, free: 1.191 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/2.912, allocations: 12.03 kB / 0.8149 GB, free: 1.18 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.309e-05/2.912, allocations: 82.45 kB / 0.815 GB, free: 1.09 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/2.913, allocations: 93.41 kB / 0.8151 GB, free: 1 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008108/2.913, allocations: 0.5092 MB / 0.8156 GB, free: 472 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/2.913, allocations: 34.44 kB / 0.8156 GB, free: 440 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/2.913, allocations: 36 kB / 0.8157 GB, free: 404 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/2.914, allocations: 495.6 kB / 0.8161 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/2.914, allocations: 4 kB / 0.8161 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/2.914, allocations: 16 kB / 0.8162 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/2.914, allocations: 8 kB / 0.8162 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/2.915, allocations: 414.4 kB / 0.8166 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008407/2.923, allocations: 4.367 MB / 0.8208 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/2.924, allocations: 124.8 kB / 0.8209 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.365e-05/2.924, allocations: 44.78 kB / 0.821 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5374/3.461, allocations: 88.36 MB / 0.9073 GB, free: 247.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/3.461, allocations: 38.31 kB / 0.9073 GB, free: 247.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 2.294e-06/3.461, allocations: 2.719 kB / 0.9073 GB, free: 247.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.002153/3.463, allocations: 395.1 kB / 0.9077 GB, free: 247.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/3.464, allocations: 102.8 kB / 0.9078 GB, free: 247.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/3.465, allocations: 1.123 MB / 0.9089 GB, free: 246 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/3.465, allocations: 29.64 kB / 0.9089 GB, free: 245.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/3.465, allocations: 396.2 kB / 0.9093 GB, free: 245.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/3.465, allocations: 48.34 kB / 0.9093 GB, free: 245.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/3.465, allocations: 81.59 kB / 0.9094 GB, free: 245.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/3.465, allocations: 382.3 kB / 0.9098 GB, free: 245.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/3.466, allocations: 131.9 kB / 0.9099 GB, free: 245 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/3.466, allocations: 258.3 kB / 0.9102 GB, free: 244.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/3.466, allocations: 322.1 kB / 0.9105 GB, free: 244.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/3.466, allocations: 0 / 0.9105 GB, free: 244.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001294/3.467, allocations: 0.5702 MB / 0.911 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/3.467, allocations: 4 kB / 0.911 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/3.467, allocations: 4 kB / 0.911 GB, free: 243.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/3.469, allocations: 200.2 kB / 0.9112 GB, free: 243.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/3.469, allocations: 47.34 kB / 0.9113 GB, free: 243.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004759/3.47, allocations: 0.6275 MB / 0.9119 GB, free: 242.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/3.47, allocations: 53.77 kB / 0.9119 GB, free: 242.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/3.47, allocations: 12 kB / 0.9119 GB, free: 242.8 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.0002671/3.47, allocations: 270.9 kB / 0.9122 GB, free: 242.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/3.47, allocations: 75.52 kB / 0.9123 GB, free: 242.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006315/3.471, allocations: 264.5 kB / 0.9125 GB, free: 242.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/3.471, allocations: 3.938 kB / 0.9125 GB, free: 242.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/3.471, allocations: 0 / 0.9125 GB, free: 242.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/3.471, allocations: 0 / 0.9125 GB, free: 242.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/3.473, allocations: 0.8294 MB / 0.9133 GB, free: 241.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/3.473, allocations: 3.984 kB / 0.9133 GB, free: 241.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/3.473, allocations: 8.031 kB / 0.9133 GB, free: 241.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009827/3.474, allocations: 162.1 kB / 0.9135 GB, free: 241.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/3.474, allocations: 6.344 kB / 0.9135 GB, free: 241.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000417/3.474, allocations: 0.6208 MB / 0.9141 GB, free: 240.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/3.474, allocations: 4.031 kB / 0.9141 GB, free: 240.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/3.475, allocations: 427.4 kB / 0.9145 GB, free: 240.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/3.476, allocations: 114.1 kB / 0.9146 GB, free: 240 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/3.476, allocations: 3.281 kB / 0.9146 GB, free: 240 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/3.476, allocations: 8 kB / 0.9146 GB, free: 240 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/3.476, allocations: 15.17 kB / 0.9147 GB, free: 240 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/3.476, allocations: 7.984 kB / 0.9147 GB, free: 239.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007932/3.477, allocations: 0.8153 MB / 0.9155 GB, free: 239.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/3.477, allocations: 0 / 0.9155 GB, free: 239.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004906/3.482, allocations: 1.671 MB / 0.9171 GB, free: 237.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.009391/3.491, allocations: 3.271 MB / 0.9203 GB, free: 234.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000667/3.492, allocations: 238.5 kB / 0.9205 GB, free: 234.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/3.492, allocations: 8.375 kB / 0.9205 GB, free: 234.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/3.492, allocations: 55.81 kB / 0.9206 GB, free: 234.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/3.493, allocations: 95.42 kB / 0.9207 GB, free: 234.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/3.503, allocations: 6.403 MB / 0.9269 GB, free: 227.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/3.504, allocations: 0.9419 MB / 0.9278 GB, free: 227 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002008/3.504, allocations: 78.67 kB / 0.9279 GB, free: 226.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/3.504, allocations: 211.4 kB / 0.9281 GB, free: 226.7 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/3.504, allocations: 0 / 0.9281 GB, free: 226.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/3.61, allocations: 61.03 MB / 0.9877 GB, free: 166.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/19.9, allocations: 15.94 kB / 0.9877 GB, free: 166.5 MB / 0.6856 GB " [Timeout remaining time 640] (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: 22.16783281100004] Failed to read output from testmodel.py, exit status != 0: 20.231680208999933 20.241043927 17.333865873 Calling exit ...