Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.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.5014/0.5014, allocations: 111.6 MB / 131.2 MB, free: 5.074 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.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 176.2 MB, free: 9.199 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.41e-05, allocations: 2.312 kB / 176.2 MB, free: 9.195 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.TestSimpleStaticCondenser): time 1.018/1.018, allocations: 258.6 MB / 434.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02003/1.038, allocations: 23.45 MB / 458.2 MB, free: 7.301 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/1.039, allocations: 4 kB / 458.2 MB, free: 7.297 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:31:3-32:81:writable] Warning: Connector Ec 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/HeatExchangers/SimpleStaticCondenser.mo:33:3-34:80:writable] Warning: Connector Ef 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/HeatExchangers/SimpleStaticCondenser.mo:35:3-36:77:writable] Warning: Connector Sf 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/HeatExchangers/SimpleStaticCondenser.mo:37:3-38:79:writable] Warning: Connector Sc 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0003902/1.039, allocations: 194.7 kB / 458.4 MB, free: 7.105 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003413/1.039, allocations: 337.7 kB / 458.8 MB, free: 6.773 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. Notification: Performance of NFTyping.typeClassSections: time 0.01122/1.05, allocations: 7.492 MB / 466.2 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006532/1.051, allocations: 0.925 MB / 467.2 MB, free: 14.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/1.051, allocations: 197.5 kB / 467.4 MB, free: 14.12 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/1.052, allocations: 0.5298 MB / 467.9 MB, free: 13.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/1.052, allocations: 187.5 kB / 468.1 MB, free: 13.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/1.052, allocations: 43.94 kB / 468.1 MB, free: 13.37 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1855/1.237, allocations: 15.11 MB / 483.2 MB, free: 13.88 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/1.238, allocations: 102.6 kB / 483.3 MB, free: 13.88 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/1.238, allocations: 214.2 kB / 483.5 MB, free: 13.88 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/1.25, allocations: 9.013 MB / 492.5 MB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.25, allocations: 0.8438 kB / 492.5 MB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.253e-06/1.25, allocations: 0 / 492.5 MB, free: 13.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.876e-06/1.25, allocations: 0 / 492.5 MB, free: 13.79 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003262/1.253, allocations: 1.547 MB / 494.1 MB, free: 12.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/1.253, allocations: 15.39 kB / 494.1 MB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/1.253, allocations: 101.5 kB / 494.2 MB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/1.253, allocations: 261 kB / 494.5 MB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/1.253, allocations: 31.3 kB / 494.5 MB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/1.253, allocations: 41.62 kB / 494.5 MB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/1.254, allocations: 0.526 MB / 495.1 MB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/1.254, allocations: 1.562 kB / 495.1 MB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/1.254, allocations: 20.44 kB / 495.1 MB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/1.254, allocations: 37.41 kB / 495.1 MB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/1.254, allocations: 226.5 kB / 495.3 MB, free: 12.46 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.03249/1.287, allocations: 22.22 MB / 0.5054 GB, free: 2.645 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/1.287, allocations: 173.1 kB / 0.5056 GB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/1.287, allocations: 115.4 kB / 0.5057 GB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04083/1.328, allocations: 23.95 MB / 0.5291 GB, free: 10.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/1.328, allocations: 36.39 kB / 0.5291 GB, free: 10.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=124): time 1.873e-06/1.328, allocations: 0 / 0.5291 GB, free: 10.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=124): time 0.001247/1.329, allocations: 0.7512 MB / 0.5299 GB, free: 9.609 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/1.329, allocations: 63.33 kB / 0.5299 GB, free: 9.535 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/1.329, allocations: 288.2 kB / 0.5302 GB, free: 9.242 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/1.329, allocations: 29.7 kB / 0.5302 GB, free: 9.207 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/1.329, allocations: 272.4 kB / 0.5305 GB, free: 8.934 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/1.33, allocations: 435.9 kB / 0.5309 GB, free: 8.516 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/1.33, allocations: 138.5 kB / 0.531 GB, free: 8.375 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/1.33, allocations: 0.5461 MB / 0.5316 GB, free: 7.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/1.33, allocations: 93.28 kB / 0.5317 GB, free: 7.727 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/1.33, allocations: 242.1 kB / 0.5319 GB, free: 7.453 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/1.331, allocations: 413.3 kB / 0.5323 GB, free: 7.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.331, allocations: 4 kB / 0.5323 GB, free: 7.016 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0005813/1.331, allocations: 0.5609 MB / 0.5328 GB, free: 6.457 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.331, allocations: 4 kB / 0.5328 GB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/1.331, allocations: 7 kB / 0.5328 GB, free: 6.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000769/1.332, allocations: 275.2 kB / 0.5331 GB, free: 6.176 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.961e-05/1.332, allocations: 12 kB / 0.5331 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007242/1.333, allocations: 1.754 MB / 0.5348 GB, free: 4.352 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/1.333, allocations: 71.3 kB / 0.5349 GB, free: 4.281 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/1.333, allocations: 12 kB / 0.5349 GB, free: 4.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (sinkP1.C.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,simpleStaticCondenser.Sc.b,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,3), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.333, allocations: 179.3 kB / 0.5351 GB, free: 4.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/1.333, allocations: 47.67 kB / 0.5351 GB, free: 4.043 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00337/1.337, allocations: 4.752 MB / 0.5398 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005282/1.337, allocations: 0.5864 MB / 0.5403 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.337, allocations: 4 kB / 0.5403 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.337, allocations: 3.984 kB / 0.5404 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/1.339, allocations: 1.744 MB / 0.5421 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.339, allocations: 0 / 0.5421 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/1.339, allocations: 94.25 kB / 0.5421 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003288/1.339, allocations: 192.9 kB / 0.5423 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/1.339, allocations: 12 kB / 0.5423 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006573/1.34, allocations: 1.766 MB / 0.5441 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.34, allocations: 7.812 kB / 0.5441 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006803/1.341, allocations: 0.8235 MB / 0.5449 GB, free: 9.738 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/1.341, allocations: 115.2 kB / 0.545 GB, free: 9.625 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/1.341, allocations: 39.73 kB / 0.545 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/1.341, allocations: 17.67 kB / 0.545 GB, free: 9.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/1.341, allocations: 44.56 kB / 0.5451 GB, free: 9.527 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/1.341, allocations: 16 kB / 0.5451 GB, free: 9.512 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002319/1.341, allocations: 343 kB / 0.5454 GB, free: 9.176 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/1.341, allocations: 0 / 0.5454 GB, free: 9.176 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002648/1.344, allocations: 1.014 MB / 0.5464 GB, free: 8.16 MB / 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002563/1.346, allocations: 1.293 MB / 0.5477 GB, free: 7.004 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007211/1.347, allocations: 0.7687 MB / 0.5484 GB, free: 6.211 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.347, allocations: 0 / 0.5484 GB, free: 6.211 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/1.347, allocations: 316.8 kB / 0.5487 GB, free: 5.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/1.349, allocations: 424.2 kB / 0.5491 GB, free: 5.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/1.35, allocations: 1.331 MB / 0.5504 GB, free: 4.168 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/1.35, allocations: 184.7 kB / 0.5506 GB, free: 3.969 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001658/1.35, allocations: 64.08 kB / 0.5507 GB, free: 3.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/1.35, allocations: 44.5 kB / 0.5507 GB, free: 3.867 MB / 474.7 MB Notification: Performance of SimCode: time 7.92e-07/1.35, allocations: 0 / 0.5507 GB, free: 3.867 MB / 474.7 MB Notification: Performance of Templates: time 0.04024/1.391, allocations: 44.83 MB / 0.5945 GB, free: 7.602 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0597235769964755]