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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7846/0.7846, allocations: 152.6 MB / 169.6 MB, free: 14.95 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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.0004717/0.0004717, allocations: 19.12 kB / 245.6 MB, free: 15.59 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05404/0.05451, allocations: 33.06 MB / 278.7 MB, free: 0.6172 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestBend): time 1.56/1.615, allocations: 301.3 MB / 0.5664 GB, free: 2.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03996/1.655, allocations: 35.22 MB / 0.6008 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/1.655, allocations: 4 kB / 0.6008 GB, free: 15.1 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.000552/1.655, allocations: 302.9 kB / 0.6011 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/1.656, allocations: 270.9 kB / 0.6013 GB, free: 14.54 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.02312/1.679, allocations: 9.986 MB / 0.6111 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008954/1.68, allocations: 0.4949 MB / 0.6116 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/1.68, allocations: 160.5 kB / 0.6117 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/1.68, allocations: 243.1 kB / 0.612 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/1.681, allocations: 319 kB / 0.6123 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/1.681, allocations: 27.98 kB / 0.6123 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0314/1.712, allocations: 18.04 MB / 0.6299 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/1.713, allocations: 179.3 kB / 0.6301 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003229/1.713, allocations: 278.2 kB / 0.6303 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0188/1.732, allocations: 8.878 MB / 0.639 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.732, allocations: 4 kB / 0.639 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.824e-06/1.732, allocations: 0 / 0.639 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.024e-05/1.732, allocations: 0 / 0.639 GB, free: 7.891 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.004661/1.736, allocations: 1.89 MB / 0.6409 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/1.736, allocations: 12.03 kB / 0.6409 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/1.737, allocations: 71.47 kB / 0.6409 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/1.737, allocations: 0.491 MB / 0.6414 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/1.737, allocations: 20.56 kB / 0.6414 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/1.737, allocations: 35.92 kB / 0.6415 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/1.738, allocations: 429.2 kB / 0.6419 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.738, allocations: 0 / 0.6419 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/1.738, allocations: 16 kB / 0.6419 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/1.738, allocations: 15.98 kB / 0.6419 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/1.738, allocations: 345.7 kB / 0.6422 GB, free: 4.441 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.03807/1.776, allocations: 18.71 MB / 0.6605 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005754/1.777, allocations: 150.6 kB / 0.6607 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/1.777, allocations: 76.84 kB / 0.6607 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3178/2.095, allocations: 77.91 MB / 0.7368 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/2.095, allocations: 40.06 kB / 0.7368 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=38): time 1.833e-06/2.095, allocations: 0 / 0.7368 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.001586/2.096, allocations: 0.5875 MB / 0.7374 GB, free: 205.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/2.097, allocations: 107.7 kB / 0.7375 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/2.098, allocations: 1.008 MB / 0.7385 GB, free: 205.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/2.098, allocations: 29.39 kB / 0.7385 GB, free: 205.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/2.098, allocations: 304.4 kB / 0.7388 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/2.098, allocations: 130 kB / 0.7389 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/2.098, allocations: 65.28 kB / 0.739 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.553e-05/2.098, allocations: 385.1 kB / 0.7394 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/2.098, allocations: 155.8 kB / 0.7395 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/2.098, allocations: 236.2 kB / 0.7398 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/2.099, allocations: 336.7 kB / 0.7401 GB, free: 205 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/2.099, allocations: 1.406 kB / 0.7401 GB, free: 205 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005884/2.099, allocations: 0.529 MB / 0.7406 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/2.099, allocations: 10.75 kB / 0.7406 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/2.099, allocations: 2.25 kB / 0.7406 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/2.101, allocations: 223 kB / 0.7408 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/2.101, allocations: 20.91 kB / 0.7408 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004757/2.101, allocations: 0.677 MB / 0.7415 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/2.101, allocations: 48.58 kB / 0.7415 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/2.101, allocations: 10.88 kB / 0.7416 GB, free: 204.3 MB / 0.5919 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.0001878/2.102, allocations: 249.9 kB / 0.7418 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.889e-05/2.102, allocations: 68.25 kB / 0.7419 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005885/2.102, allocations: 0.6766 MB / 0.7425 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002818/2.103, allocations: 233 kB / 0.7427 GB, free: 203.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/2.103, allocations: 8.734 kB / 0.7427 GB, free: 203.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/2.103, allocations: 0 / 0.7427 GB, free: 203.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008933/2.103, allocations: 0.978 MB / 0.7437 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/2.103, allocations: 0 / 0.7437 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/2.104, allocations: 16.5 kB / 0.7437 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007727/2.104, allocations: 178.4 kB / 0.7439 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/2.104, allocations: 7.562 kB / 0.7439 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004207/2.105, allocations: 0.7082 MB / 0.7446 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/2.105, allocations: 0 / 0.7446 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/2.105, allocations: 407.3 kB / 0.745 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/2.105, allocations: 181.3 kB / 0.7451 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/2.105, allocations: 15.56 kB / 0.7452 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/2.105, allocations: 11.12 kB / 0.7452 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/2.105, allocations: 11.36 kB / 0.7452 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/2.106, allocations: 9.391 kB / 0.7452 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006246/2.106, allocations: 0.8076 MB / 0.746 GB, free: 202 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/2.106, allocations: 0 / 0.746 GB, free: 202 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002331/2.108, allocations: 1.267 MB / 0.7472 GB, free: 202 MB / 0.5919 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.004459/2.113, allocations: 1.811 MB / 0.749 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000557/2.113, allocations: 323.8 kB / 0.7493 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/2.113, allocations: 4.672 kB / 0.7493 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/2.114, allocations: 107.1 kB / 0.7494 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/2.114, allocations: 154.3 kB / 0.7496 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/2.116, allocations: 1.187 MB / 0.7507 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/2.116, allocations: 0.9312 MB / 0.7516 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/2.116, allocations: 37.38 kB / 0.7517 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/2.116, allocations: 0 / 0.7517 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.02754/2.144, allocations: 29.87 MB / 0.7808 GB, free: 171.5 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: 9.693749831058085] Failed to read output from testmodel.py, exit status != 0: 2.2562724940944463 2.264203155 0.5305144540000001 Calling exit ...