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.8596/0.8596, allocations: 120.4 MB / 140.1 MB, free: 32 kB / 126.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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0006521/0.0006521, allocations: 23.97 kB / 217.7 MB, free: 12.96 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05916/0.05981, allocations: 33.36 MB / 251.1 MB, free: 11.54 MB / 238.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.Examples.SimpleExamples.TestBend): time 1.771/1.831, allocations: 254.1 MB / 0.4934 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04497/1.876, allocations: 31.1 MB / 0.5238 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/1.876, allocations: 4.875 kB / 0.5238 GB, free: 15.81 MB / 494.1 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.0006328/1.877, allocations: 266.5 kB / 0.524 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004314/1.877, allocations: 283.6 kB / 0.5243 GB, free: 15.27 MB / 494.1 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.02611/1.903, allocations: 9.936 MB / 0.534 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007884/1.904, allocations: 0.491 MB / 0.5345 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/1.904, allocations: 168.5 kB / 0.5346 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003951/1.905, allocations: 255.1 kB / 0.5349 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/1.905, allocations: 303.1 kB / 0.5352 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/1.905, allocations: 24 kB / 0.5352 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0313/1.937, allocations: 16.91 MB / 0.5517 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002469/1.937, allocations: 171.4 kB / 0.5519 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002723/1.937, allocations: 210.6 kB / 0.5521 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01871/1.956, allocations: 8.906 MB / 0.5608 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.956, allocations: 0 / 0.5608 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.803e-06/1.956, allocations: 0 / 0.5608 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.02e-05/1.956, allocations: 4 kB / 0.5608 GB, free: 9.852 MB / 0.5137 GB 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.004642/1.96, allocations: 1.81 MB / 0.5625 GB, free: 8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.96, allocations: 8.031 kB / 0.5626 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/1.961, allocations: 75.47 kB / 0.5626 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/1.961, allocations: 448.8 kB / 0.5631 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/1.961, allocations: 20.5 kB / 0.5631 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/1.961, allocations: 24 kB / 0.5631 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/1.962, allocations: 480.4 kB / 0.5636 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/1.962, allocations: 3.984 kB / 0.5636 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/1.962, allocations: 15.98 kB / 0.5636 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/1.962, allocations: 16 kB / 0.5636 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/1.963, allocations: 353.8 kB / 0.5639 GB, free: 6.512 MB / 0.5137 GB 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.04012/2.003, allocations: 11.35 MB / 0.575 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/2.003, allocations: 158.5 kB / 0.5752 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/2.003, allocations: 84.83 kB / 0.5752 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1638/2.167, allocations: 43.61 MB / 0.6178 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/2.167, allocations: 38.55 kB / 0.6179 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 1.933e-06/2.167, allocations: 0 / 0.6179 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.001971/2.169, allocations: 0.506 MB / 0.6184 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/2.169, allocations: 106.8 kB / 0.6185 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/2.171, allocations: 0.9725 MB / 0.6194 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/2.171, allocations: 25.7 kB / 0.6194 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/2.171, allocations: 304.6 kB / 0.6197 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/2.171, allocations: 134.8 kB / 0.6199 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/2.171, allocations: 61.64 kB / 0.6199 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000219/2.171, allocations: 378.8 kB / 0.6203 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/2.172, allocations: 156.4 kB / 0.6204 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/2.172, allocations: 294.9 kB / 0.6207 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/2.172, allocations: 350.4 kB / 0.621 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/2.172, allocations: 0 / 0.621 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008188/2.173, allocations: 0.5307 MB / 0.6216 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/2.173, allocations: 10.19 kB / 0.6216 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/2.173, allocations: 11.98 kB / 0.6216 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/2.175, allocations: 212.6 kB / 0.6218 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.995e-05/2.175, allocations: 23.92 kB / 0.6218 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007726/2.176, allocations: 0.6694 MB / 0.6225 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/2.176, allocations: 39.7 kB / 0.6225 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/2.176, allocations: 15.98 kB / 0.6225 GB, free: 10.21 MB / 0.5762 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.0003066/2.176, allocations: 254.5 kB / 0.6228 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/2.177, allocations: 63.56 kB / 0.6228 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009563/2.177, allocations: 0.6855 MB / 0.6235 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004078/2.178, allocations: 247.2 kB / 0.6237 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/2.178, allocations: 0 / 0.6237 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/2.178, allocations: 0 / 0.6237 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/2.179, allocations: 0.8456 MB / 0.6245 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/2.179, allocations: 7.938 kB / 0.6246 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/2.179, allocations: 24.02 kB / 0.6246 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009778/2.18, allocations: 171.2 kB / 0.6247 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/2.18, allocations: 4 kB / 0.6247 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007377/2.181, allocations: 0.7122 MB / 0.6254 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/2.181, allocations: 4.031 kB / 0.6254 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/2.182, allocations: 404.6 kB / 0.6258 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/2.182, allocations: 91.48 kB / 0.6259 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/2.182, allocations: 15.88 kB / 0.6259 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/2.182, allocations: 8 kB / 0.6259 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/2.182, allocations: 15.97 kB / 0.626 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/2.182, allocations: 4 kB / 0.626 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00102/2.183, allocations: 0.784 MB / 0.6267 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/2.183, allocations: 4.062 kB / 0.6267 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00334/2.186, allocations: 1.286 MB / 0.628 GB, free: 4.43 MB / 0.5762 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.005241/2.192, allocations: 1.783 MB / 0.6297 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008384/2.193, allocations: 346.9 kB / 0.6301 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/2.193, allocations: 0 / 0.6301 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003131/2.193, allocations: 104.8 kB / 0.6302 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008645/2.194, allocations: 139.4 kB / 0.6303 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/2.196, allocations: 1.119 MB / 0.6314 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/2.196, allocations: 339.8 kB / 0.6317 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001431/2.196, allocations: 59.25 kB / 0.6318 GB, free: 500 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/2.196, allocations: 32.5 kB / 0.6318 GB, free: 468 kB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/2.196, allocations: 0 / 0.6318 GB, free: 468 kB / 0.5762 GB Notification: Performance of Templates: time 0.06883/2.265, allocations: 44.94 MB / 0.6757 GB, free: 3.605 MB / 0.6231 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.makefile [Timeout 660] (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 & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.366731671965681] Failed to read output from testmodel.py, exit status != 0: 2.5451519140042365 2.553977859 0.5957873929999999 Calling exit ...