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.8402/0.8402, allocations: 120.4 MB / 139.5 MB, free: 492 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 1.723e-06/1.723e-06, allocations: 0 / 217.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.197e-05, allocations: 2.281 kB / 217.2 MB, free: 13.71 MB / 206.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.484/1.484, allocations: 254.4 MB / 471.6 MB, free: 10.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2376/1.722, allocations: 31.11 MB / 0.491 GB, free: 7.398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/1.722, allocations: 4.125 kB / 0.491 GB, free: 7.398 MB / 446.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.0005836/1.723, allocations: 264.5 kB / 0.4912 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004605/1.723, allocations: 293.5 kB / 0.4915 GB, free: 7.078 MB / 446.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.02849/1.752, allocations: 10.03 MB / 0.5013 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007864/1.753, allocations: 0.507 MB / 0.5018 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/1.753, allocations: 156.7 kB / 0.5019 GB, free: 15.31 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005434/1.753, allocations: 331.1 kB / 0.5022 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/1.754, allocations: 280 kB / 0.5025 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/1.754, allocations: 24.62 kB / 0.5025 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03202/1.786, allocations: 16.94 MB / 0.5191 GB, free: 13.75 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000247/1.786, allocations: 171.4 kB / 0.5192 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002895/1.786, allocations: 156.2 kB / 0.5194 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0234/1.81, allocations: 11.26 MB / 0.5304 GB, free: 2.137 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/1.81, allocations: 4.781 kB / 0.5304 GB, free: 2.133 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.326e-06/1.81, allocations: 3.984 kB / 0.5304 GB, free: 2.129 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.072e-05/1.81, allocations: 0.9688 kB / 0.5304 GB, free: 2.129 MB / 478.1 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.004641/1.815, allocations: 1.8 MB / 0.5322 GB, free: 296 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/1.815, allocations: 12.69 kB / 0.5322 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/1.815, allocations: 71.53 kB / 0.5322 GB, free: 212 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006067/1.815, allocations: 445.5 kB / 0.5327 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/1.815, allocations: 17.78 kB / 0.5327 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/1.815, allocations: 24 kB / 0.5327 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006552/1.816, allocations: 485.7 kB / 0.5332 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/1.816, allocations: 6.031 kB / 0.5332 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/1.816, allocations: 12 kB / 0.5332 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/1.816, allocations: 15.98 kB / 0.5332 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/1.817, allocations: 342 kB / 0.5335 GB, free: 14.82 MB / 494.1 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.03859/1.855, allocations: 11.36 MB / 0.5446 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/1.856, allocations: 151.6 kB / 0.5448 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/1.856, allocations: 84.83 kB / 0.5448 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1607/2.017, allocations: 43.61 MB / 0.5874 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/2.017, allocations: 34.56 kB / 0.5875 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.104e-06/2.017, allocations: 0 / 0.5875 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.001918/2.019, allocations: 0.5147 MB / 0.588 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/2.019, allocations: 106.8 kB / 0.5881 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/2.02, allocations: 0.9686 MB / 0.589 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/2.02, allocations: 26.83 kB / 0.589 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/2.02, allocations: 304.7 kB / 0.5893 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/2.02, allocations: 134.8 kB / 0.5895 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/2.021, allocations: 65.69 kB / 0.5895 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001902/2.021, allocations: 374.8 kB / 0.5899 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/2.021, allocations: 168.3 kB / 0.59 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/2.021, allocations: 290.9 kB / 0.5903 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/2.022, allocations: 339.7 kB / 0.5906 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/2.022, allocations: 4 kB / 0.5906 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000812/2.023, allocations: 0.5359 MB / 0.5912 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/2.023, allocations: 8 kB / 0.5912 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/2.023, allocations: 0.5625 kB / 0.5912 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/2.024, allocations: 221.5 kB / 0.5914 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.988e-05/2.024, allocations: 23.98 kB / 0.5914 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007373/2.025, allocations: 0.6751 MB / 0.5921 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/2.025, allocations: 40.98 kB / 0.5921 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/2.025, allocations: 8 kB / 0.5921 GB, free: 2.621 MB / 0.5294 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.0002861/2.026, allocations: 254.5 kB / 0.5924 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/2.026, allocations: 63.52 kB / 0.5924 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009253/2.027, allocations: 0.6906 MB / 0.5931 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003953/2.027, allocations: 246.9 kB / 0.5933 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/2.027, allocations: 1.594 kB / 0.5933 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/2.027, allocations: 7.938 kB / 0.5933 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/2.028, allocations: 0.8418 MB / 0.5942 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/2.028, allocations: 0 / 0.5942 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/2.028, allocations: 19.94 kB / 0.5942 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009492/2.029, allocations: 177.6 kB / 0.5944 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/2.029, allocations: 7.938 kB / 0.5944 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007204/2.03, allocations: 0.7057 MB / 0.595 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/2.03, allocations: 0 / 0.595 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/2.031, allocations: 404.7 kB / 0.5954 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/2.031, allocations: 95.48 kB / 0.5955 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/2.031, allocations: 11.95 kB / 0.5955 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/2.031, allocations: 17.77 kB / 0.5956 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/2.031, allocations: 15.97 kB / 0.5956 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/2.031, allocations: 4.688 kB / 0.5956 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009504/2.032, allocations: 0.7763 MB / 0.5963 GB, free: 14.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/2.032, allocations: 0 / 0.5963 GB, free: 14.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003001/2.035, allocations: 1.282 MB / 0.5976 GB, free: 12.86 MB / 0.545 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.005804/2.041, allocations: 1.966 MB / 0.5995 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007426/2.042, allocations: 342.9 kB / 0.5998 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/2.042, allocations: 0 / 0.5998 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/2.042, allocations: 109.4 kB / 0.5999 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008519/2.043, allocations: 136.2 kB / 0.6001 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/2.044, allocations: 1.085 MB / 0.6011 GB, free: 9.207 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/2.045, allocations: 337.3 kB / 0.6014 GB, free: 8.855 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001367/2.045, allocations: 57.91 kB / 0.6015 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/2.045, allocations: 28.5 kB / 0.6015 GB, free: 8.777 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/2.045, allocations: 0 / 0.6015 GB, free: 8.777 MB / 0.545 GB Notification: Performance of Templates: time 0.06501/2.11, allocations: 45.12 MB / 0.6456 GB, free: 11.91 MB / 0.5919 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: 8.253548227250576] Failed to read output from testmodel.py, exit status != 0: 2.4380131289362907 2.448237068 0.635707079 Calling exit ...