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.5839/0.5839, allocations: 120.4 MB / 140.2 MB, free: 13.01 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: 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 2.335e-06/2.335e-06, allocations: 0 / 218 MB, free: 8.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.59e-05, allocations: 4.688 kB / 218 MB, free: 8.605 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 0.9602/0.9602, allocations: 254.4 MB / 472.4 MB, free: 8.734 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2275/1.188, allocations: 31.09 MB / 0.4917 GB, free: 0.875 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/1.188, allocations: 3.375 kB / 0.4917 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.0005237/1.188, allocations: 272.4 kB / 0.4919 GB, free: 0.875 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003351/1.189, allocations: 283.3 kB / 0.4922 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.01931/1.208, allocations: 10.03 MB / 0.502 GB, free: 14.66 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006943/1.209, allocations: 0.5108 MB / 0.5025 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/1.209, allocations: 163.3 kB / 0.5027 GB, free: 14.29 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/1.209, allocations: 325.2 kB / 0.503 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/1.21, allocations: 283.4 kB / 0.5032 GB, free: 14 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/1.21, allocations: 24.38 kB / 0.5033 GB, free: 14 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02278/1.232, allocations: 16.93 MB / 0.5198 GB, free: 1.512 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/1.233, allocations: 179.4 kB / 0.52 GB, free: 1.344 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002403/1.233, allocations: 157.2 kB / 0.5201 GB, free: 1.195 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02101/1.254, allocations: 11.26 MB / 0.5311 GB, free: 6.441 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.254, allocations: 0 / 0.5311 GB, free: 6.441 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.943e-06/1.254, allocations: 1.031 kB / 0.5311 GB, free: 6.441 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/1.254, allocations: 4.5 kB / 0.5311 GB, free: 6.438 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.003728/1.258, allocations: 1.807 MB / 0.5329 GB, free: 4.598 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/1.258, allocations: 12.03 kB / 0.5329 GB, free: 4.586 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/1.258, allocations: 72.84 kB / 0.533 GB, free: 4.516 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/1.258, allocations: 432.2 kB / 0.5334 GB, free: 4.078 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/1.258, allocations: 20.5 kB / 0.5334 GB, free: 4.059 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/1.258, allocations: 24 kB / 0.5334 GB, free: 4.035 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/1.259, allocations: 492.9 kB / 0.5339 GB, free: 3.504 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.259, allocations: 8.766 kB / 0.5339 GB, free: 3.496 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/1.259, allocations: 14.44 kB / 0.5339 GB, free: 3.484 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/1.259, allocations: 9.688 kB / 0.5339 GB, free: 3.477 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/1.259, allocations: 342 kB / 0.5343 GB, free: 3.145 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.01831/1.277, allocations: 11.36 MB / 0.5453 GB, free: 7.887 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/1.278, allocations: 146.6 kB / 0.5455 GB, free: 7.734 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.317e-05/1.278, allocations: 81.72 kB / 0.5456 GB, free: 7.652 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07508/1.353, allocations: 43.63 MB / 0.5882 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/1.353, allocations: 38.5 kB / 0.5882 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=38): time 2.845e-06/1.353, allocations: 0.9375 kB / 0.5882 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.001137/1.354, allocations: 0.5109 MB / 0.5887 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/1.354, allocations: 107.6 kB / 0.5888 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007936/1.355, allocations: 0.9647 MB / 0.5897 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/1.355, allocations: 37.69 kB / 0.5898 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/1.355, allocations: 303.2 kB / 0.5901 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/1.355, allocations: 126.1 kB / 0.5902 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/1.355, allocations: 65.64 kB / 0.5903 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.355, allocations: 374.8 kB / 0.5906 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/1.355, allocations: 172.3 kB / 0.5908 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/1.356, allocations: 283.7 kB / 0.591 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/1.356, allocations: 351.6 kB / 0.5914 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.356, allocations: 0 / 0.5914 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005121/1.357, allocations: 0.5333 MB / 0.5919 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.357, allocations: 8 kB / 0.5919 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.357, allocations: 0 / 0.5919 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008629/1.358, allocations: 220.7 kB / 0.5921 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/1.358, allocations: 27.98 kB / 0.5921 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000493/1.358, allocations: 0.6721 MB / 0.5928 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/1.358, allocations: 35.73 kB / 0.5928 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/1.358, allocations: 16.92 kB / 0.5929 GB, free: 7.027 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.0002147/1.358, allocations: 250.2 kB / 0.5931 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/1.358, allocations: 63.64 kB / 0.5932 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006345/1.359, allocations: 0.6861 MB / 0.5938 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002301/1.359, allocations: 259.7 kB / 0.5941 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.359, allocations: 0.5625 kB / 0.5941 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.359, allocations: 0 / 0.5941 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008317/1.36, allocations: 0.8348 MB / 0.5949 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.36, allocations: 1.062 kB / 0.5949 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/1.36, allocations: 23.92 kB / 0.5949 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/1.361, allocations: 176.6 kB / 0.5951 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/1.361, allocations: 5.5 kB / 0.5951 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000417/1.361, allocations: 0.7096 MB / 0.5958 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.361, allocations: 0 / 0.5958 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/1.361, allocations: 404.7 kB / 0.5962 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/1.362, allocations: 88.09 kB / 0.5962 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/1.362, allocations: 25 kB / 0.5963 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/1.362, allocations: 8 kB / 0.5963 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/1.362, allocations: 11.97 kB / 0.5963 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/1.362, allocations: 4 kB / 0.5963 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005993/1.362, allocations: 0.7802 MB / 0.5971 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/1.362, allocations: 0 / 0.5971 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003208/1.366, allocations: 1.29 MB / 0.5983 GB, free: 1.262 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.004271/1.37, allocations: 1.965 MB / 0.6002 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006413/1.37, allocations: 339.2 kB / 0.6006 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.37, allocations: 0 / 0.6006 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/1.371, allocations: 108.9 kB / 0.6007 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/1.371, allocations: 137.1 kB / 0.6008 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/1.373, allocations: 1.149 MB / 0.6019 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/1.373, allocations: 338.4 kB / 0.6022 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/1.373, allocations: 36.5 kB / 0.6023 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of SimCode: time 1.763e-06/1.373, allocations: 0 / 0.6023 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of Templates: time 0.03095/1.404, allocations: 30.16 MB / 0.6317 GB, free: 15.35 MB / 0.573 GB " [Timeout remaining time 658] 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.763497062958777] Failed to read output from testmodel.py, exit status != 0: 1.6377694718539715 1.54756049 0.29189189800000004 Calling exit ...