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.8062/0.8062, allocations: 153.8 MB / 173.5 MB, free: 4.984 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004843, allocations: 15.92 kB / 250.6 MB, free: 4.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1618, allocations: 33.36 MB / 284 MB, free: 1.852 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.755/1.917, allocations: 307.5 MB / 0.5777 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2197/2.137, allocations: 194.1 MB / 0.7672 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004521/2.137, allocations: 11.94 kB / 0.7672 GB, free: 2.836 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.000407/2.137, allocations: 199.2 kB / 0.7674 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0004633/2.138, allocations: 286.6 kB / 0.7677 GB, free: 2.359 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.0317/2.17, allocations: 12.64 MB / 0.78 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008059/2.17, allocations: 0.5457 MB / 0.7806 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003119/2.171, allocations: 237.1 kB / 0.7808 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/2.171, allocations: 271.2 kB / 0.781 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/2.172, allocations: 390.8 kB / 0.7814 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.254e-05/2.172, allocations: 44 kB / 0.7815 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03967/2.211, allocations: 21.22 MB / 0.8022 GB, free: 14.99 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/2.212, allocations: 219.2 kB / 0.8024 GB, free: 14.78 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003564/2.212, allocations: 334 kB / 0.8027 GB, free: 14.45 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02855/2.241, allocations: 10.81 MB / 0.8133 GB, free: 3.609 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/2.241, allocations: 0 / 0.8133 GB, free: 3.609 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.174e-06/2.241, allocations: 0 / 0.8133 GB, free: 3.609 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.226e-05/2.241, allocations: 3.938 kB / 0.8133 GB, free: 3.605 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.005587/2.246, allocations: 2.302 MB / 0.8155 GB, free: 1.258 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/2.246, allocations: 8.031 kB / 0.8155 GB, free: 1.25 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.092e-05/2.246, allocations: 9 kB / 0.8155 GB, free: 1.242 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.51e-05/2.246, allocations: 82.52 kB / 0.8156 GB, free: 1.152 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/2.246, allocations: 91.38 kB / 0.8157 GB, free: 1.062 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008104/2.247, allocations: 0.514 MB / 0.8162 GB, free: 0.5195 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/2.247, allocations: 29 kB / 0.8162 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/2.247, allocations: 40 kB / 0.8163 GB, free: 464 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/2.248, allocations: 491.5 kB / 0.8167 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/2.248, allocations: 0 / 0.8167 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/2.248, allocations: 20 kB / 0.8168 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/2.248, allocations: 13.12 kB / 0.8168 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/2.249, allocations: 418.2 kB / 0.8172 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008446/2.257, allocations: 4.368 MB / 0.8214 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/2.258, allocations: 121.3 kB / 0.8215 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.451e-05/2.258, allocations: 40.78 kB / 0.8216 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.446/2.704, allocations: 88.38 MB / 0.9079 GB, free: 247.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/2.704, allocations: 34.56 kB / 0.9079 GB, free: 247.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 2.565e-06/2.704, allocations: 0 / 0.9079 GB, free: 247.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.002043/2.706, allocations: 394.4 kB / 0.9083 GB, free: 247.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/2.706, allocations: 110.6 kB / 0.9084 GB, free: 247.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/2.707, allocations: 1.115 MB / 0.9095 GB, free: 246.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/2.707, allocations: 29.7 kB / 0.9095 GB, free: 246 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/2.708, allocations: 388.6 kB / 0.9099 GB, free: 245.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/2.708, allocations: 51.7 kB / 0.9099 GB, free: 245.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/2.708, allocations: 81.59 kB / 0.91 GB, free: 245.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.84e-05/2.708, allocations: 378.8 kB / 0.9104 GB, free: 245.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/2.708, allocations: 127.9 kB / 0.9105 GB, free: 245.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/2.708, allocations: 266.1 kB / 0.9108 GB, free: 244.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/2.708, allocations: 321.8 kB / 0.9111 GB, free: 244.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/2.708, allocations: 4 kB / 0.9111 GB, free: 244.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001285/2.71, allocations: 0.5539 MB / 0.9116 GB, free: 243.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/2.71, allocations: 10.34 kB / 0.9116 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/2.71, allocations: 4 kB / 0.9116 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/2.711, allocations: 200 kB / 0.9118 GB, free: 243.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/2.711, allocations: 47.17 kB / 0.9119 GB, free: 243.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004325/2.712, allocations: 0.6313 MB / 0.9125 GB, free: 243 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/2.712, allocations: 52.02 kB / 0.9125 GB, free: 242.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/2.712, allocations: 20 kB / 0.9125 GB, free: 242.9 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.0002274/2.712, allocations: 275.1 kB / 0.9128 GB, free: 242.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/2.712, allocations: 71.53 kB / 0.9129 GB, free: 242.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005974/2.713, allocations: 267.7 kB / 0.9131 GB, free: 242.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/2.713, allocations: 7.938 kB / 0.9131 GB, free: 242.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/2.713, allocations: 0 / 0.9131 GB, free: 242.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/2.713, allocations: 0 / 0.9131 GB, free: 242.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/2.715, allocations: 0.8278 MB / 0.9139 GB, free: 241.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/2.715, allocations: 0 / 0.9139 GB, free: 241.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/2.715, allocations: 4 kB / 0.914 GB, free: 241.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000958/2.715, allocations: 167.7 kB / 0.9141 GB, free: 241.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/2.715, allocations: 0 / 0.9141 GB, free: 241.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003869/2.716, allocations: 0.6214 MB / 0.9147 GB, free: 240.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/2.716, allocations: 0 / 0.9147 GB, free: 240.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/2.717, allocations: 426.5 kB / 0.9151 GB, free: 240.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/2.717, allocations: 117.7 kB / 0.9152 GB, free: 240.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/2.717, allocations: 3.938 kB / 0.9152 GB, free: 240.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/2.717, allocations: 15.98 kB / 0.9153 GB, free: 240.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/2.717, allocations: 11.98 kB / 0.9153 GB, free: 240 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/2.717, allocations: 0 / 0.9153 GB, free: 240 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000642/2.718, allocations: 0.8153 MB / 0.9161 GB, free: 239.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/2.718, allocations: 0 / 0.9161 GB, free: 239.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004193/2.722, allocations: 1.675 MB / 0.9177 GB, free: 237.8 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.01024/2.732, allocations: 3.272 MB / 0.9209 GB, free: 235 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007295/2.733, allocations: 242.6 kB / 0.9211 GB, free: 234.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/2.733, allocations: 3.938 kB / 0.9211 GB, free: 234.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/2.733, allocations: 50.83 kB / 0.9212 GB, free: 234.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009173/2.734, allocations: 102.6 kB / 0.9213 GB, free: 234.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/2.746, allocations: 6.4 MB / 0.9275 GB, free: 228 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/2.747, allocations: 0.944 MB / 0.9284 GB, free: 227.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002243/2.747, allocations: 71.03 kB / 0.9285 GB, free: 227 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/2.747, allocations: 219.4 kB / 0.9287 GB, free: 226.8 MB / 0.6856 GB Notification: Performance of SimCode: time 9.12e-07/2.747, allocations: 0 / 0.9287 GB, free: 226.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08635/2.833, allocations: 61.07 MB / 0.9884 GB, free: 166.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/18.53, allocations: 10.2 kB / 0.9884 GB, free: 166.6 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestBend_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 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.948296260088682] Failed to read output from testmodel.py, exit status != 0: 18.845300453016534 18.854454294 16.611691229 Calling exit ...