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.7831/0.7831, allocations: 111.6 MB / 131 MB, free: 5.098 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 5.53e-06/5.53e-06, allocations: 4 kB / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.979e-05, allocations: 2.312 kB / 175.7 MB, free: 9.449 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.658/1.658, allocations: 255.9 MB / 431.6 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03655/1.695, allocations: 21.59 MB / 453.2 MB, free: 9.594 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/1.695, allocations: 11.94 kB / 453.2 MB, free: 9.582 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.0006685/1.696, allocations: 190.7 kB / 453.4 MB, free: 9.395 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008537/1.697, allocations: 333.7 kB / 453.7 MB, free: 9.066 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.02176/1.718, allocations: 7.499 MB / 461.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00151/1.72, allocations: 0.925 MB / 462.2 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005809/1.72, allocations: 193.5 kB / 462.3 MB, free: 428 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/1.722, allocations: 0.5182 MB / 462.9 MB, free: 15.9 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/1.722, allocations: 191.5 kB / 463 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.788e-05/1.722, allocations: 40 kB / 463.1 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02973/1.752, allocations: 15.12 MB / 478.2 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/1.752, allocations: 99.55 kB / 478.3 MB, free: 440 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004617/1.752, allocations: 207.5 kB / 478.5 MB, free: 232 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0198/1.772, allocations: 9.218 MB / 487.7 MB, free: 6.984 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/1.772, allocations: 7.984 kB / 487.7 MB, free: 6.977 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.704e-06/1.772, allocations: 0 / 487.7 MB, free: 6.977 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/1.772, allocations: 0 / 487.7 MB, free: 6.977 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.004547/1.777, allocations: 1.432 MB / 489.2 MB, free: 5.508 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.777, allocations: 19.92 kB / 489.2 MB, free: 5.488 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/1.777, allocations: 104.5 kB / 489.3 MB, free: 5.387 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/1.777, allocations: 260.7 kB / 489.5 MB, free: 5.105 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/1.777, allocations: 29.38 kB / 489.6 MB, free: 5.074 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/1.778, allocations: 40.38 kB / 489.6 MB, free: 5.035 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/1.779, allocations: 0.6976 MB / 490.3 MB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/1.779, allocations: 192 / 490.3 MB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/1.779, allocations: 19.94 kB / 490.3 MB, free: 4.273 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/1.779, allocations: 39.95 kB / 490.4 MB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007427/1.779, allocations: 463.6 kB / 490.8 MB, free: 3.777 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.2017/1.981, allocations: 21.68 MB / 0.5005 GB, free: 95.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/1.982, allocations: 292.9 kB / 0.5008 GB, free: 95.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/1.982, allocations: 222.5 kB / 0.501 GB, free: 95.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07186/2.054, allocations: 23.86 MB / 0.5243 GB, free: 71.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/2.054, allocations: 44.38 kB / 0.5243 GB, free: 71.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=124): time 2.365e-06/2.054, allocations: 0 / 0.5243 GB, free: 71.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.002089/2.056, allocations: 1.065 MB / 0.5254 GB, free: 70.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/2.056, allocations: 51.41 kB / 0.5254 GB, free: 70.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/2.056, allocations: 245.6 kB / 0.5257 GB, free: 70 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/2.056, allocations: 29.7 kB / 0.5257 GB, free: 69.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/2.056, allocations: 228.4 kB / 0.5259 GB, free: 69.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/2.056, allocations: 413.2 kB / 0.5263 GB, free: 69.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/2.057, allocations: 114.8 kB / 0.5264 GB, free: 69.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/2.057, allocations: 365.1 kB / 0.5268 GB, free: 68.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/2.057, allocations: 229.2 kB / 0.527 GB, free: 68.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/2.057, allocations: 331 kB / 0.5273 GB, free: 68.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006028/2.058, allocations: 0.6358 MB / 0.5279 GB, free: 67.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/2.058, allocations: 0 / 0.5279 GB, free: 67.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0009275/2.059, allocations: 0.7777 MB / 0.5287 GB, free: 66.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/2.059, allocations: 8 kB / 0.5287 GB, free: 66.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/2.059, allocations: 4 kB / 0.5287 GB, free: 66.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/2.06, allocations: 345.5 kB / 0.529 GB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/2.06, allocations: 19.98 kB / 0.529 GB, free: 66.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007859/2.061, allocations: 1.283 MB / 0.5303 GB, free: 65.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/2.061, allocations: 75.3 kB / 0.5304 GB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/2.062, allocations: 12 kB / 0.5304 GB, free: 65.06 MB / 442.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.0001659/2.062, allocations: 178.4 kB / 0.5305 GB, free: 64.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/2.062, allocations: 55.62 kB / 0.5306 GB, free: 64.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/2.065, allocations: 4.046 MB / 0.5345 GB, free: 60.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008917/2.065, allocations: 0.8156 MB / 0.5353 GB, free: 59.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/2.065, allocations: 0 / 0.5353 GB, free: 59.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/2.065, allocations: 3.984 kB / 0.5353 GB, free: 59.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/2.068, allocations: 1.928 MB / 0.5372 GB, free: 57.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/2.068, allocations: 0 / 0.5372 GB, free: 57.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/2.068, allocations: 91.91 kB / 0.5373 GB, free: 57.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007353/2.069, allocations: 247.1 kB / 0.5375 GB, free: 57.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/2.069, allocations: 15.98 kB / 0.5376 GB, free: 57.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000772/2.069, allocations: 1.349 MB / 0.5389 GB, free: 56.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/2.069, allocations: 1.469 kB / 0.5389 GB, free: 56.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/2.071, allocations: 0.9901 MB / 0.5398 GB, free: 55.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/2.071, allocations: 103.9 kB / 0.5399 GB, free: 54.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.552e-05/2.071, allocations: 31.8 kB / 0.54 GB, free: 54.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/2.071, allocations: 12 kB / 0.54 GB, free: 54.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/2.071, allocations: 48.56 kB / 0.54 GB, free: 54.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/2.071, allocations: 23.52 kB / 0.5401 GB, free: 54.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003186/2.071, allocations: 359.1 kB / 0.5404 GB, free: 54.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/2.071, allocations: 4 kB / 0.5404 GB, free: 54.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002229/2.074, allocations: 1.017 MB / 0.5414 GB, free: 53.46 MB / 442.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.003429/2.077, allocations: 1.297 MB / 0.5427 GB, free: 52.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/2.078, allocations: 0.9438 MB / 0.5436 GB, free: 51.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/2.078, allocations: 0 / 0.5436 GB, free: 51.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004478/2.079, allocations: 358.3 kB / 0.5439 GB, free: 50.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/2.08, allocations: 427.6 kB / 0.5443 GB, free: 50.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/2.082, allocations: 1.438 MB / 0.5457 GB, free: 49.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/2.082, allocations: 400 kB / 0.5461 GB, free: 48.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000211/2.083, allocations: 64.69 kB / 0.5462 GB, free: 48.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/2.083, allocations: 44.5 kB / 0.5462 GB, free: 48.61 MB / 442.7 MB Notification: Performance of SimCode: time 7.61e-07/2.083, allocations: 0 / 0.5462 GB, free: 48.61 MB / 442.7 MB Notification: Performance of Templates: time 0.04643/2.129, allocations: 44.21 MB / 0.5894 GB, free: 4.875 MB / 442.7 MB " [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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.498123730998486]