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.833/0.833, allocations: 153.8 MB / 172.7 MB, free: 4.867 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.0005036/0.0005036, allocations: 7.984 kB / 249.8 MB, free: 4.375 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1691, allocations: 33.36 MB / 283.2 MB, free: 1.723 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.824/1.993, allocations: 307.7 MB / 0.577 GB, free: 17.31 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2051/2.198, allocations: 167.5 MB / 0.7406 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/2.198, allocations: 15.88 kB / 0.7406 GB, free: 13.45 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.0004382/2.199, allocations: 211.2 kB / 0.7408 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006161/2.199, allocations: 282.7 kB / 0.7411 GB, free: 12.96 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.03364/2.233, allocations: 12.44 MB / 0.7532 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008738/2.234, allocations: 0.5418 MB / 0.7537 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/2.234, allocations: 245.1 kB / 0.754 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004775/2.235, allocations: 267.1 kB / 0.7542 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004942/2.235, allocations: 358.8 kB / 0.7546 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.106e-05/2.235, allocations: 44 kB / 0.7546 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03818/2.273, allocations: 19.69 MB / 0.7738 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002996/2.274, allocations: 219.3 kB / 0.7741 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003281/2.274, allocations: 258.4 kB / 0.7743 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02489/2.299, allocations: 10.8 MB / 0.7848 GB, free: 64 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/2.299, allocations: 7.984 kB / 0.7849 GB, free: 56 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.264e-06/2.299, allocations: 0 / 0.7849 GB, free: 56 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.49e-05/2.299, allocations: 0 / 0.7849 GB, free: 56 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.005951/2.305, allocations: 2.284 MB / 0.7871 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/2.305, allocations: 12.03 kB / 0.7871 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.851e-05/2.305, allocations: 76.69 kB / 0.7872 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/2.305, allocations: 95.42 kB / 0.7873 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000816/2.306, allocations: 0.5208 MB / 0.7878 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/2.306, allocations: 30.97 kB / 0.7878 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/2.306, allocations: 36.62 kB / 0.7878 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/2.307, allocations: 0.5301 MB / 0.7884 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/2.307, allocations: 0 / 0.7884 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/2.307, allocations: 16 kB / 0.7884 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/2.307, allocations: 16 kB / 0.7884 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006354/2.308, allocations: 414.3 kB / 0.7888 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008219/2.316, allocations: 3.755 MB / 0.7924 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/2.316, allocations: 110.6 kB / 0.7926 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.958e-05/2.316, allocations: 40.89 kB / 0.7926 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4646/2.781, allocations: 88.71 MB / 0.8792 GB, free: 276.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/2.781, allocations: 41.88 kB / 0.8793 GB, free: 276.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 2.404e-06/2.781, allocations: 0 / 0.8793 GB, free: 276.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.002074/2.783, allocations: 401.3 kB / 0.8796 GB, free: 276.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/2.783, allocations: 107.4 kB / 0.8797 GB, free: 276.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/2.784, allocations: 1.13 MB / 0.8808 GB, free: 275.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/2.784, allocations: 25.7 kB / 0.8809 GB, free: 275.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/2.785, allocations: 400.6 kB / 0.8813 GB, free: 275.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/2.785, allocations: 42.52 kB / 0.8813 GB, free: 275.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/2.785, allocations: 80.22 kB / 0.8814 GB, free: 275.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000115/2.785, allocations: 385.8 kB / 0.8817 GB, free: 274.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/2.785, allocations: 127.2 kB / 0.8819 GB, free: 274.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/2.785, allocations: 311.9 kB / 0.8822 GB, free: 274.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/2.786, allocations: 320.8 kB / 0.8825 GB, free: 274.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/2.786, allocations: 0 / 0.8825 GB, free: 274.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001278/2.787, allocations: 0.5559 MB / 0.883 GB, free: 273.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/2.787, allocations: 11.94 kB / 0.883 GB, free: 273.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/2.787, allocations: 8.031 kB / 0.883 GB, free: 273.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/2.788, allocations: 198.3 kB / 0.8832 GB, free: 273.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/2.789, allocations: 47.91 kB / 0.8833 GB, free: 273.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005101/2.789, allocations: 0.6245 MB / 0.8839 GB, free: 272.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/2.789, allocations: 50.34 kB / 0.8839 GB, free: 272.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/2.789, 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.0003211/2.79, allocations: 272.4 kB / 0.8842 GB, free: 272.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/2.79, allocations: 76.19 kB / 0.8843 GB, free: 272.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006381/2.791, allocations: 265.5 kB / 0.8845 GB, free: 272 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/2.791, allocations: 4 kB / 0.8845 GB, free: 272 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/2.791, allocations: 4 kB / 0.8845 GB, free: 272 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/2.791, allocations: 0 / 0.8845 GB, free: 272 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/2.792, allocations: 0.7846 MB / 0.8853 GB, free: 271.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/2.792, allocations: 4.031 kB / 0.8853 GB, free: 271.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/2.792, allocations: 4 kB / 0.8853 GB, free: 271.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009455/2.793, allocations: 156.6 kB / 0.8854 GB, free: 271 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/2.793, allocations: 4 kB / 0.8855 GB, free: 271 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004123/2.793, allocations: 0.6303 MB / 0.8861 GB, free: 270.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/2.793, allocations: 6.469 kB / 0.8861 GB, free: 270.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/2.795, allocations: 423.3 kB / 0.8865 GB, free: 270 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/2.795, allocations: 114.1 kB / 0.8866 GB, free: 269.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/2.795, allocations: 8 kB / 0.8866 GB, free: 269.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/2.795, allocations: 7.938 kB / 0.8866 GB, free: 269.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/2.795, allocations: 15.97 kB / 0.8866 GB, free: 269.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/2.795, allocations: 4 kB / 0.8866 GB, free: 269.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007192/2.796, allocations: 0.8114 MB / 0.8874 GB, free: 269 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/2.796, allocations: 0 / 0.8874 GB, free: 269 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003605/2.799, allocations: 1.676 MB / 0.8891 GB, free: 267.6 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.006704/2.806, allocations: 3.273 MB / 0.8922 GB, free: 264.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005911/2.807, allocations: 221.5 kB / 0.8925 GB, free: 264.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/2.807, allocations: 6.297 kB / 0.8925 GB, free: 264.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/2.807, allocations: 64 kB / 0.8925 GB, free: 264.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/2.807, allocations: 94.5 kB / 0.8926 GB, free: 264.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008425/2.816, allocations: 6.411 MB / 0.8989 GB, free: 257.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/2.816, allocations: 346 kB / 0.8992 GB, free: 257.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001834/2.816, allocations: 76.03 kB / 0.8993 GB, free: 257.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/2.817, allocations: 219.4 kB / 0.8995 GB, free: 257.2 MB / 0.6856 GB Notification: Performance of SimCode: time 1.203e-06/2.817, allocations: 0 / 0.8995 GB, free: 257.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08641/2.903, allocations: 61.39 MB / 0.9594 GB, free: 196.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/18.2, allocations: 14.28 kB / 0.9595 GB, free: 196.7 MB / 0.6856 GB " [Timeout remaining time 642] (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.046611016616225] Failed to read output from testmodel.py, exit status != 0: 18.479303092695773 18.489212565 16.187939448 Calling exit ...