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.772/0.772, allocations: 111.6 MB / 131 MB, free: 5.086 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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.795e-06/2.795e-06, allocations: 0 / 175.7 MB, free: 9.438 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.298e-05, allocations: 5.125 kB / 175.7 MB, free: 9.434 MB / 170.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.624/1.624, allocations: 254.7 MB / 430.4 MB, free: 484 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04745/1.672, allocations: 31.12 MB / 461.5 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/1.672, allocations: 4 kB / 461.5 MB, free: 1.227 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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:19:3-20:80: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:35:3-36:80: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:37:3-38:80: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.0006015/1.673, allocations: 274.9 kB / 461.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004445/1.673, allocations: 278.7 kB / 462.1 MB, free: 0.6836 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.02608/1.699, allocations: 10.04 MB / 472.1 MB, free: 6.609 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008078/1.7, allocations: 0.5103 MB / 472.6 MB, free: 6.098 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/1.7, allocations: 172.7 kB / 472.8 MB, free: 5.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004959/1.701, allocations: 335.1 kB / 473.1 MB, free: 5.602 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/1.701, allocations: 275.5 kB / 473.4 MB, free: 5.332 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.924e-05/1.701, allocations: 28 kB / 473.4 MB, free: 5.305 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0324/1.734, allocations: 16.93 MB / 490.3 MB, free: 4.352 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002627/1.734, allocations: 175.4 kB / 490.5 MB, free: 4.18 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002676/1.734, allocations: 155.5 kB / 490.6 MB, free: 4.027 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2162/1.95, allocations: 11.25 MB / 0.4901 GB, free: 20.76 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/1.95, allocations: 0 / 0.4901 GB, free: 20.76 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.906e-06/1.95, allocations: 1.812 kB / 0.4901 GB, free: 20.76 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/1.95, allocations: 0 / 0.4901 GB, free: 20.76 MB / 442.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.007482/1.958, allocations: 1.802 MB / 0.4919 GB, free: 19.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.958, allocations: 12.62 kB / 0.4919 GB, free: 19.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/1.958, allocations: 100.6 kB / 0.492 GB, free: 19.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/1.959, allocations: 439.1 kB / 0.4924 GB, free: 19.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/1.959, allocations: 17.59 kB / 0.4924 GB, free: 19.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/1.959, allocations: 25.34 kB / 0.4925 GB, free: 19.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/1.959, allocations: 489.2 kB / 0.4929 GB, free: 19.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.959, allocations: 2.562 kB / 0.4929 GB, free: 19.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/1.959, allocations: 10.12 kB / 0.4929 GB, free: 19.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/1.959, allocations: 20.55 kB / 0.493 GB, free: 19.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004045/1.96, allocations: 345.8 kB / 0.4933 GB, free: 19.29 MB / 442.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.03494/1.995, allocations: 11.39 MB / 0.5044 GB, free: 17.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/1.995, allocations: 148.1 kB / 0.5045 GB, free: 17.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/1.995, allocations: 87.19 kB / 0.5046 GB, free: 17.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1493/2.145, allocations: 43.66 MB / 0.5473 GB, free: 14.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.971e-05/2.145, allocations: 36.25 kB / 0.5473 GB, free: 14.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 1.863e-06/2.145, allocations: 0 / 0.5473 GB, free: 14.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.002089/2.147, allocations: 0.5169 MB / 0.5478 GB, free: 14.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/2.147, allocations: 117.5 kB / 0.5479 GB, free: 13.94 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/2.148, allocations: 0.9648 MB / 0.5489 GB, free: 13.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/2.148, allocations: 25.7 kB / 0.5489 GB, free: 13.17 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/2.149, allocations: 307.7 kB / 0.5492 GB, free: 12.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/2.149, allocations: 131.6 kB / 0.5493 GB, free: 12.85 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/2.149, allocations: 68.39 kB / 0.5494 GB, free: 12.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002346/2.149, allocations: 376.1 kB / 0.5497 GB, free: 12.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/2.15, allocations: 163.1 kB / 0.5499 GB, free: 12.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/2.15, allocations: 289.6 kB / 0.5502 GB, free: 12.08 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/2.15, allocations: 339.9 kB / 0.5505 GB, free: 11.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/2.15, allocations: 4 kB / 0.5505 GB, free: 11.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000915/2.151, allocations: 0.5393 MB / 0.551 GB, free: 11.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/2.151, allocations: 4 kB / 0.551 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/2.151, allocations: 4 kB / 0.551 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/2.153, allocations: 229.2 kB / 0.5512 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/2.153, allocations: 22.89 kB / 0.5513 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008541/2.154, allocations: 0.673 MB / 0.5519 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/2.154, allocations: 37.41 kB / 0.552 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/2.154, allocations: 16.05 kB / 0.552 GB, free: 10.52 MB / 474.7 MB 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.00035/2.155, allocations: 252.7 kB / 0.5522 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/2.155, allocations: 63.58 kB / 0.5523 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/2.156, allocations: 0.6887 MB / 0.5529 GB, free: 9.441 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004465/2.157, allocations: 239.2 kB / 0.5532 GB, free: 9.199 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/2.157, allocations: 0 / 0.5532 GB, free: 9.199 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/2.157, allocations: 4 kB / 0.5532 GB, free: 9.195 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/2.158, allocations: 0.8604 MB / 0.554 GB, free: 8.312 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/2.158, allocations: 0 / 0.554 GB, free: 8.312 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/2.158, allocations: 20.55 kB / 0.554 GB, free: 8.293 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009609/2.159, allocations: 174.2 kB / 0.5542 GB, free: 8.121 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/2.159, allocations: 8 kB / 0.5542 GB, free: 8.113 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008243/2.16, allocations: 0.7004 MB / 0.5549 GB, free: 7.391 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/2.16, allocations: 4.031 kB / 0.5549 GB, free: 7.387 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/2.161, allocations: 411.8 kB / 0.5553 GB, free: 6.965 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/2.161, allocations: 87.53 kB / 0.5554 GB, free: 6.879 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/2.161, allocations: 19.88 kB / 0.5554 GB, free: 6.859 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/2.161, allocations: 9.312 kB / 0.5554 GB, free: 6.852 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/2.161, allocations: 20.03 kB / 0.5554 GB, free: 6.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/2.161, allocations: 4 kB / 0.5554 GB, free: 6.828 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001139/2.162, allocations: 0.7802 MB / 0.5562 GB, free: 6.055 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/2.162, allocations: 0 / 0.5562 GB, free: 6.055 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005261/2.168, allocations: 1.278 MB / 0.5574 GB, free: 4.773 MB / 474.7 MB 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.009222/2.177, allocations: 1.955 MB / 0.5593 GB, free: 3.066 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/2.178, allocations: 347.6 kB / 0.5597 GB, free: 2.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/2.178, allocations: 0 / 0.5597 GB, free: 2.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/2.178, allocations: 100.4 kB / 0.5598 GB, free: 2.637 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009313/2.179, allocations: 147.1 kB / 0.5599 GB, free: 2.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/2.181, allocations: 1.111 MB / 0.561 GB, free: 1.359 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/2.182, allocations: 348 kB / 0.5613 GB, free: 1.008 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001578/2.182, allocations: 54.19 kB / 0.5614 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/2.182, allocations: 36.48 kB / 0.5614 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of SimCode: time 7.91e-07/2.182, allocations: 0 / 0.5614 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of Templates: time 0.07691/2.259, allocations: 45.29 MB / 0.6056 GB, free: 3.852 MB / 0.5105 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.178307287977077]