Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.5935/0.5935, allocations: 120.4 MB / 139.5 MB, free: 13 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.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 0 / 216.7 MB, free: 8.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.688e-05, allocations: 2.281 kB / 216.7 MB, free: 8.613 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.Examples.SimpleExamples.TestBend): time 1.052/1.052, allocations: 254.4 MB / 471.1 MB, free: 8.77 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2983/1.351, allocations: 31.09 MB / 0.4904 GB, free: 0.875 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/1.351, allocations: 3.312 kB / 0.4904 GB, free: 0.875 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/Bend.mo:55:3-57:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/Bend.mo:58:3-60:43:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007212/1.352, allocations: 263.3 kB / 0.4907 GB, free: 0.875 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004277/1.352, allocations: 287.9 kB / 0.491 GB, free: 0.8555 MB / 442.7 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02527/1.377, allocations: 10.03 MB / 0.5008 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009621/1.378, allocations: 0.5078 MB / 0.5013 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/1.379, allocations: 162.3 kB / 0.5014 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005585/1.379, allocations: 330.3 kB / 0.5017 GB, free: 14.12 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/1.38, allocations: 275.8 kB / 0.502 GB, free: 14.03 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.977e-05/1.38, allocations: 24.72 kB / 0.502 GB, free: 14.03 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02972/1.409, allocations: 16.95 MB / 0.5186 GB, free: 1.523 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002448/1.41, allocations: 170.8 kB / 0.5187 GB, free: 1.359 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/1.41, allocations: 155.5 kB / 0.5189 GB, free: 1.215 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02384/1.434, allocations: 11.27 MB / 0.5299 GB, free: 6.457 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/1.434, allocations: 0 / 0.5299 GB, free: 6.457 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.866e-06/1.434, allocations: 1.031 kB / 0.5299 GB, free: 6.457 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/1.434, allocations: 0 / 0.5299 GB, free: 6.457 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005377/1.439, allocations: 1.802 MB / 0.5316 GB, free: 4.621 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.439, allocations: 12.03 kB / 0.5317 GB, free: 4.609 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.316e-05/1.439, allocations: 75.08 kB / 0.5317 GB, free: 4.527 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/1.44, allocations: 72.03 kB / 0.5318 GB, free: 4.457 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/1.44, allocations: 433.4 kB / 0.5322 GB, free: 4.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/1.44, allocations: 21.53 kB / 0.5322 GB, free: 4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/1.44, allocations: 28.44 kB / 0.5323 GB, free: 3.973 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/1.441, allocations: 485.3 kB / 0.5327 GB, free: 3.449 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/1.441, allocations: 0.9375 kB / 0.5327 GB, free: 3.449 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/1.441, allocations: 12 kB / 0.5327 GB, free: 3.438 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/1.441, allocations: 17.3 kB / 0.5327 GB, free: 3.422 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/1.441, allocations: 342.7 kB / 0.5331 GB, free: 3.09 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0198/1.461, allocations: 11.44 MB / 0.5442 GB, free: 7.746 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/1.461, allocations: 149.2 kB / 0.5444 GB, free: 7.594 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.657e-05/1.461, allocations: 80.83 kB / 0.5445 GB, free: 7.512 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07442/1.536, allocations: 43.61 MB / 0.587 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/1.536, allocations: 50.48 kB / 0.5871 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=38): time 4.107e-06/1.536, allocations: 1.172 kB / 0.5871 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.001239/1.537, allocations: 0.5161 MB / 0.5876 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/1.537, allocations: 102.8 kB / 0.5877 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009167/1.538, allocations: 1.012 MB / 0.5887 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/1.538, allocations: 25.7 kB / 0.5887 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/1.538, allocations: 315.3 kB / 0.589 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/1.538, allocations: 125.4 kB / 0.5891 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/1.538, allocations: 69.64 kB / 0.5892 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.538, allocations: 382.7 kB / 0.5896 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/1.538, allocations: 160.4 kB / 0.5897 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/1.539, allocations: 295.6 kB / 0.59 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/1.539, allocations: 343.7 kB / 0.5903 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.539, allocations: 0 / 0.5903 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005432/1.54, allocations: 0.5347 MB / 0.5908 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.54, allocations: 8 kB / 0.5909 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.54, allocations: 0.5625 kB / 0.5909 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009065/1.541, allocations: 220.7 kB / 0.5911 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/1.541, allocations: 24.64 kB / 0.5911 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005066/1.541, allocations: 0.6799 MB / 0.5918 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/1.541, allocations: 43.66 kB / 0.5918 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/1.541, allocations: 8.938 kB / 0.5918 GB, free: 6.836 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002394/1.542, allocations: 245.8 kB / 0.592 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/1.542, allocations: 67.53 kB / 0.5921 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006811/1.542, allocations: 0.7075 MB / 0.5928 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002495/1.543, allocations: 247.5 kB / 0.593 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.543, allocations: 0 / 0.593 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.543, allocations: 1.266 kB / 0.593 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/1.543, allocations: 0.8843 MB / 0.5939 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.543, allocations: 0.5 kB / 0.5939 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/1.544, allocations: 16 kB / 0.5939 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000489/1.544, allocations: 183.8 kB / 0.5941 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/1.544, allocations: 4.562 kB / 0.5941 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004346/1.544, allocations: 0.7045 MB / 0.5948 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.544, allocations: 4.062 kB / 0.5948 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/1.545, allocations: 409.5 kB / 0.5952 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/1.545, allocations: 99.42 kB / 0.5953 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/1.545, allocations: 21.81 kB / 0.5953 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/1.545, allocations: 8 kB / 0.5953 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/1.545, allocations: 15.97 kB / 0.5953 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/1.545, allocations: 4 kB / 0.5953 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006255/1.546, allocations: 0.8114 MB / 0.5961 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.5e-07/1.546, allocations: 0 / 0.5961 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003116/1.549, allocations: 1.274 MB / 0.5974 GB, free: 0.9688 MB / 0.5261 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 (12): * Single equations (assignments): 11 * 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.005223/1.554, allocations: 2.819 MB / 0.6001 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006339/1.555, allocations: 339.2 kB / 0.6004 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.555, allocations: 0 / 0.6004 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/1.555, allocations: 102.4 kB / 0.6005 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/1.556, allocations: 153.6 kB / 0.6007 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006684/1.562, allocations: 6.147 MB / 0.6067 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/1.562, allocations: 337.2 kB / 0.607 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001632/1.563, allocations: 59.97 kB / 0.6071 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/1.563, allocations: 232.4 kB / 0.6073 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of SimCode: time 1.032e-06/1.563, allocations: 0 / 0.6073 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08285/1.646, allocations: 55.37 MB / 0.6614 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/13.13, allocations: 14.22 kB / 0.6614 GB, free: 15.86 MB / 0.6042 GB " [Timeout remaining time 646] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.876331554725766] Failed to read output from testmodel.py, exit status != 0: 13.752819508314133 13.645457204 12.20924701 Calling exit ...