Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.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.5545/0.5545, allocations: 111.6 MB / 131.5 MB, free: 4.902 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.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 176.7 MB, free: 8.863 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.514e-05, allocations: 2.312 kB / 176.7 MB, free: 8.859 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.TestSingularPressureLoss): time 1.215/1.215, allocations: 262.8 MB / 439.5 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03121/1.247, allocations: 32.96 MB / 472.5 MB, free: 14 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/1.247, allocations: 0 / 472.5 MB, free: 14 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/SingularPressureLoss.mo:15:3-16: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/SingularPressureLoss.mo:17:3-18:78: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.0003522/1.247, allocations: 107.4 kB / 472.6 MB, free: 13.89 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/1.247, allocations: 111.2 kB / 472.7 MB, free: 13.78 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01805/1.266, allocations: 8.615 MB / 481.3 MB, free: 5.125 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/1.266, allocations: 342.3 kB / 481.6 MB, free: 4.789 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/1.266, allocations: 94.77 kB / 481.7 MB, free: 4.695 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/1.266, allocations: 215.4 kB / 481.9 MB, free: 4.484 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/1.267, allocations: 79.73 kB / 482 MB, free: 4.406 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/1.267, allocations: 16 kB / 482 MB, free: 4.391 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' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh1satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh2satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du1satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du2satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.227/1.494, allocations: 18.05 MB / 0.4884 GB, free: 8.105 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/1.494, allocations: 47.02 kB / 0.4884 GB, free: 8.105 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/1.494, allocations: 81 kB / 0.4885 GB, free: 8.105 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02011/1.514, allocations: 10.72 MB / 0.499 GB, free: 4.422 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.514, allocations: 0 / 0.499 GB, free: 4.422 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.913e-06/1.514, allocations: 0 / 0.499 GB, free: 4.422 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/1.514, allocations: 0.625 kB / 0.499 GB, free: 4.422 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.004017/1.518, allocations: 1.376 MB / 0.5003 GB, free: 3.488 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.518, allocations: 12.64 kB / 0.5003 GB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/1.518, allocations: 30.84 kB / 0.5003 GB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/1.518, allocations: 155.1 kB / 0.5005 GB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/1.518, allocations: 12.16 kB / 0.5005 GB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/1.518, allocations: 23.09 kB / 0.5005 GB, free: 3.309 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/1.519, allocations: 225.3 kB / 0.5007 GB, free: 3.148 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/1.519, allocations: 1.531 kB / 0.5007 GB, free: 3.148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/1.519, allocations: 12.97 kB / 0.5007 GB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/1.519, allocations: 17.92 kB / 0.5008 GB, free: 3.133 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/1.519, allocations: 67.39 kB / 0.5008 GB, free: 3.121 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.02121/1.54, allocations: 9.143 MB / 0.5098 GB, free: 12.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/1.54, allocations: 106.4 kB / 0.5099 GB, free: 12.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/1.54, allocations: 31.2 kB / 0.5099 GB, free: 12.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07415/1.614, allocations: 39.06 MB / 0.548 GB, free: 5.852 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.614, allocations: 34.56 kB / 0.5481 GB, free: 5.809 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 1.983e-06/1.614, allocations: 0 / 0.5481 GB, free: 5.809 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004241/1.615, allocations: 177.5 kB / 0.5482 GB, free: 5.633 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/1.615, allocations: 51.41 kB / 0.5483 GB, free: 5.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/1.615, allocations: 170.2 kB / 0.5484 GB, free: 5.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/1.615, allocations: 25.7 kB / 0.5485 GB, free: 5.379 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/1.615, allocations: 159.9 kB / 0.5486 GB, free: 5.223 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/1.615, allocations: 104.2 kB / 0.5487 GB, free: 5.129 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/1.615, allocations: 42.92 kB / 0.5488 GB, free: 5.086 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/1.615, allocations: 330 kB / 0.5491 GB, free: 4.766 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/1.615, allocations: 31.14 kB / 0.5491 GB, free: 4.734 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/1.615, allocations: 58.48 kB / 0.5492 GB, free: 4.668 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.891e-05/1.615, allocations: 124.2 kB / 0.5493 GB, free: 4.547 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.615, allocations: 4 kB / 0.5493 GB, free: 4.543 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001731/1.616, allocations: 152.1 kB / 0.5494 GB, free: 4.391 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.616, allocations: 4 kB / 0.5494 GB, free: 4.387 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.616, allocations: 3.984 kB / 0.5494 GB, free: 4.383 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/1.616, allocations: 89.14 kB / 0.5495 GB, free: 4.297 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.43e-05/1.616, allocations: 11.56 kB / 0.5495 GB, free: 4.289 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002951/1.616, allocations: 0.5561 MB / 0.5501 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.466e-05/1.616, allocations: 31.77 kB / 0.5501 GB, free: 3.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/1.616, allocations: 0 / 0.5501 GB, free: 3.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,singularPressureLoss.C1.a,singularPressureLoss.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 8 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/1.616, allocations: 121 kB / 0.5502 GB, free: 3.555 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/1.616, allocations: 8 kB / 0.5502 GB, free: 3.547 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/1.617, allocations: 494.3 kB / 0.5507 GB, free: 3.066 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001139/1.617, allocations: 125.4 kB / 0.5508 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/1.617, allocations: 0 / 0.5508 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/1.617, allocations: 0 / 0.5508 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/1.617, allocations: 475.3 kB / 0.5513 GB, free: 2.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.617, allocations: 8 kB / 0.5513 GB, free: 2.473 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/1.617, allocations: 12 kB / 0.5513 GB, free: 2.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001691/1.618, allocations: 74.67 kB / 0.5514 GB, free: 2.387 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/1.618, allocations: 5.078 kB / 0.5514 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002419/1.618, allocations: 0.575 MB / 0.5519 GB, free: 1.789 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.618, allocations: 0 / 0.5519 GB, free: 1.789 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/1.618, allocations: 274.1 kB / 0.5522 GB, free: 1.508 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/1.618, allocations: 24.81 kB / 0.5522 GB, free: 1.484 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/1.618, allocations: 7.953 kB / 0.5522 GB, free: 1.477 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-05/1.618, allocations: 7.938 kB / 0.5522 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/1.618, allocations: 12.48 kB / 0.5522 GB, free: 1.457 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/1.618, allocations: 0 / 0.5522 GB, free: 1.457 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.163e-05/1.618, allocations: 81.5 kB / 0.5523 GB, free: 1.383 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.618, allocations: 3.938 kB / 0.5523 GB, free: 1.379 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00254/1.621, allocations: 1.203 MB / 0.5535 GB, free: 180 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 10 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004498/1.625, allocations: 2.036 MB / 0.5555 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003361/1.625, allocations: 135.7 kB / 0.5556 GB, free: 14.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.626, allocations: 8 kB / 0.5556 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/1.626, allocations: 66.58 kB / 0.5557 GB, free: 14.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/1.626, allocations: 117.7 kB / 0.5558 GB, free: 14.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/1.627, allocations: 485.4 kB / 0.5563 GB, free: 13.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.365e-05/1.627, allocations: 88.25 kB / 0.5564 GB, free: 13.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.741e-05/1.627, allocations: 18.7 kB / 0.5564 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/1.627, allocations: 99.33 kB / 0.5565 GB, free: 13.36 MB / 490.7 MB Notification: Performance of SimCode: time 1.283e-06/1.627, allocations: 0 / 0.5565 GB, free: 13.36 MB / 490.7 MB Notification: Performance of Templates: time 0.05328/1.68, allocations: 48.81 MB / 0.6041 GB, free: 12.83 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.417182510718703]