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.4996/0.4996, allocations: 111.6 MB / 131.2 MB, free: 4.574 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.084e-06/2.084e-06, allocations: 0 / 176.2 MB, free: 9.148 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.432e-05, allocations: 4.844 kB / 176.2 MB, free: 9.145 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.043/1.043, allocations: 257.1 MB / 433.4 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02853/1.072, allocations: 33.65 MB / 467 MB, free: 14.11 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/1.072, allocations: 4 kB / 467 MB, free: 14.11 MB / 426.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.0004514/1.072, allocations: 270.9 kB / 467.3 MB, free: 13.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/1.073, allocations: 290.7 kB / 467.6 MB, free: 13.55 MB / 426.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.0177/1.09, allocations: 10.04 MB / 477.6 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005698/1.091, allocations: 0.5103 MB / 478.1 MB, free: 2.961 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/1.091, allocations: 172.7 kB / 478.3 MB, free: 2.789 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003698/1.091, allocations: 327.2 kB / 478.6 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/1.092, allocations: 279.4 kB / 478.9 MB, free: 2.195 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/1.092, allocations: 31.98 kB / 478.9 MB, free: 2.164 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1901/1.282, allocations: 16.91 MB / 495.8 MB, free: 8.355 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/1.282, allocations: 179.4 kB / 496 MB, free: 8.355 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/1.282, allocations: 153.5 kB / 496.1 MB, free: 8.355 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01538/1.298, allocations: 11.05 MB / 0.4953 GB, free: 3.289 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/1.298, allocations: 0 / 0.4953 GB, free: 3.289 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.773e-06/1.298, allocations: 3.938 kB / 0.4953 GB, free: 3.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/1.298, allocations: 1.344 kB / 0.4953 GB, free: 3.285 MB / 426.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.003244/1.301, allocations: 1.914 MB / 0.4972 GB, free: 1.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/1.301, allocations: 11.73 kB / 0.4972 GB, free: 1.891 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/1.301, allocations: 99.61 kB / 0.4973 GB, free: 1.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/1.301, allocations: 359.1 kB / 0.4976 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/1.301, allocations: 20.97 kB / 0.4976 GB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/1.301, allocations: 26.34 kB / 0.4977 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/1.302, allocations: 375.6 kB / 0.498 GB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.302, allocations: 0 / 0.498 GB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/1.302, allocations: 11.41 kB / 0.498 GB, free: 1.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/1.302, allocations: 20.95 kB / 0.4981 GB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/1.302, allocations: 121.5 kB / 0.4982 GB, free: 1.18 MB / 426.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.01812/1.32, allocations: 11.56 MB / 0.5095 GB, free: 8.539 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/1.32, allocations: 115.1 kB / 0.5096 GB, free: 8.414 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/1.32, allocations: 43.67 kB / 0.5096 GB, free: 8.367 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07507/1.396, allocations: 43.79 MB / 0.5524 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/1.396, allocations: 37.39 kB / 0.5524 GB, free: 12.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 1.684e-06/1.396, allocations: 0 / 0.5524 GB, free: 12.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.001027/1.397, allocations: 412 kB / 0.5528 GB, free: 12.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/1.397, allocations: 106.8 kB / 0.5529 GB, free: 12.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/1.397, allocations: 0.6792 MB / 0.5536 GB, free: 11.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/1.397, allocations: 29.7 kB / 0.5536 GB, free: 11.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/1.397, allocations: 378.2 kB / 0.554 GB, free: 10.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/1.398, allocations: 134 kB / 0.5541 GB, free: 10.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/1.398, allocations: 71.3 kB / 0.5541 GB, free: 10.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/1.398, allocations: 0.5665 MB / 0.5547 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/1.398, allocations: 40.48 kB / 0.5547 GB, free: 10.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/1.398, allocations: 217.7 kB / 0.5549 GB, free: 9.828 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/1.398, allocations: 193.8 kB / 0.5551 GB, free: 9.609 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.398, allocations: 0 / 0.5551 GB, free: 9.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003694/1.399, allocations: 340.7 kB / 0.5555 GB, free: 9.277 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.399, allocations: 8 kB / 0.5555 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.399, allocations: 0 / 0.5555 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007903/1.399, allocations: 188.2 kB / 0.5556 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/1.399, allocations: 27.08 kB / 0.5557 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004484/1.4, allocations: 0.8939 MB / 0.5565 GB, free: 8.141 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/1.4, allocations: 35.73 kB / 0.5566 GB, free: 8.105 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/1.4, allocations: 12.03 kB / 0.5566 GB, free: 8.094 MB / 490.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.0001145/1.4, allocations: 173.3 kB / 0.5568 GB, free: 7.918 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/1.4, allocations: 71.5 kB / 0.5568 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/1.401, allocations: 0.689 MB / 0.5575 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001781/1.401, allocations: 184.4 kB / 0.5577 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.401, allocations: 0 / 0.5577 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1.401, allocations: 0 / 0.5577 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007901/1.402, allocations: 0.8785 MB / 0.5585 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.402, allocations: 0.5 kB / 0.5585 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/1.402, allocations: 16 kB / 0.5585 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004324/1.402, allocations: 153.1 kB / 0.5587 GB, free: 5.801 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/1.402, allocations: 0 / 0.5587 GB, free: 5.801 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004619/1.403, allocations: 0.8975 MB / 0.5596 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.403, allocations: 1.031 kB / 0.5596 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/1.403, allocations: 420.3 kB / 0.56 GB, free: 4.441 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/1.403, allocations: 87.53 kB / 0.5601 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/1.403, allocations: 15.92 kB / 0.5601 GB, free: 4.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/1.403, allocations: 4.562 kB / 0.5601 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/1.403, allocations: 19.97 kB / 0.5601 GB, free: 4.316 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/1.403, allocations: 7.938 kB / 0.5601 GB, free: 4.309 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000374/1.404, allocations: 0.4911 MB / 0.5606 GB, free: 3.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/1.404, allocations: 0 / 0.5606 GB, free: 3.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00246/1.406, allocations: 1.282 MB / 0.5618 GB, free: 2.535 MB / 490.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.003714/1.41, allocations: 1.967 MB / 0.5638 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004247/1.41, allocations: 215.1 kB / 0.564 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.41, allocations: 0 / 0.564 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/1.41, allocations: 109.2 kB / 0.5641 GB, free: 496 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/1.411, allocations: 146.3 kB / 0.5642 GB, free: 360 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/1.412, allocations: 0.9811 MB / 0.5652 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/1.412, allocations: 165.2 kB / 0.5653 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.788e-05/1.412, allocations: 42.91 kB / 0.5654 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/1.412, allocations: 40.5 kB / 0.5654 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/1.412, allocations: 0 / 0.5654 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.04222/1.455, allocations: 45.99 MB / 0.6103 GB, free: 1.434 MB / 0.5261 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.160566519014537]