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.4849/0.4849, allocations: 111.6 MB / 131.4 MB, free: 4.941 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.773e-06/1.773e-06, allocations: 0 / 176.5 MB, free: 8.984 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.88e-05, allocations: 2.312 kB / 176.5 MB, free: 8.98 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.057/1.057, allocations: 258.6 MB / 435.1 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01983/1.077, allocations: 23.09 MB / 458.2 MB, free: 7.598 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/1.078, allocations: 4 kB / 458.2 MB, free: 7.594 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.0004048/1.078, allocations: 190.7 kB / 458.4 MB, free: 7.406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/1.078, allocations: 337.6 kB / 458.7 MB, free: 7.074 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.01282/1.091, allocations: 7.492 MB / 466.2 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000684/1.092, allocations: 0.925 MB / 467.1 MB, free: 14.62 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/1.092, allocations: 209.4 kB / 467.3 MB, free: 14.41 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/1.092, allocations: 0.5182 MB / 467.9 MB, free: 13.89 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/1.093, allocations: 195.4 kB / 468.1 MB, free: 13.7 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/1.093, allocations: 36 kB / 468.1 MB, free: 13.67 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.212/1.305, allocations: 15.1 MB / 483.2 MB, free: 14.23 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/1.305, allocations: 107.5 kB / 483.3 MB, free: 14.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000395/1.305, allocations: 208 kB / 483.5 MB, free: 14.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01442/1.32, allocations: 9.007 MB / 492.5 MB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.32, allocations: 3.141 kB / 492.5 MB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/1.32, allocations: 1.969 kB / 492.5 MB, free: 14.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/1.32, allocations: 0.625 kB / 492.5 MB, free: 14.14 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.004136/1.324, allocations: 1.559 MB / 494.1 MB, free: 13.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.324, allocations: 18.22 kB / 494.1 MB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/1.324, allocations: 98.28 kB / 494.2 MB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/1.324, allocations: 267.1 kB / 494.5 MB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/1.324, allocations: 31.16 kB / 494.5 MB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/1.324, allocations: 41.09 kB / 494.5 MB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/1.325, allocations: 496.9 kB / 495 MB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.325, allocations: 2.656 kB / 495 MB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/1.325, allocations: 20.59 kB / 495 MB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/1.325, allocations: 42.67 kB / 495.1 MB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/1.325, allocations: 178.8 kB / 495.2 MB, free: 12.8 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.02704/1.352, allocations: 19.36 MB / 0.5025 GB, free: 6.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/1.352, allocations: 158.5 kB / 0.5027 GB, free: 5.867 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/1.352, allocations: 90.5 kB / 0.5028 GB, free: 5.781 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03243/1.385, allocations: 20.59 MB / 0.5229 GB, free: 1.293 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/1.385, allocations: 33.39 kB / 0.5229 GB, free: 1.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=124): time 1.964e-06/1.385, allocations: 0 / 0.5229 GB, free: 1.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.001027/1.386, allocations: 0.7087 MB / 0.5236 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/1.386, allocations: 54.97 kB / 0.5237 GB, free: 488 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/1.386, allocations: 294.2 kB / 0.5239 GB, free: 212 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/1.386, allocations: 29.7 kB / 0.524 GB, free: 176 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/1.386, allocations: 275 kB / 0.5242 GB, free: 15.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/1.386, allocations: 440.3 kB / 0.5247 GB, free: 15.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/1.386, allocations: 142 kB / 0.5248 GB, free: 15.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/1.386, allocations: 0.5475 MB / 0.5253 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.73e-05/1.387, allocations: 73.27 kB / 0.5254 GB, free: 14.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/1.387, allocations: 222.2 kB / 0.5256 GB, free: 14.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/1.387, allocations: 368.1 kB / 0.526 GB, free: 14.17 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.387, allocations: 0.75 kB / 0.526 GB, free: 14.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0004474/1.387, allocations: 0.5069 MB / 0.5265 GB, free: 13.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.387, allocations: 7.75 kB / 0.5265 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.387, allocations: 4.25 kB / 0.5265 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/1.388, allocations: 225.3 kB / 0.5267 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.718e-05/1.388, allocations: 19.98 kB / 0.5267 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008232/1.389, allocations: 1.737 MB / 0.5284 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/1.389, allocations: 60.16 kB / 0.5285 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/1.389, allocations: 12 kB / 0.5285 GB, free: 11.57 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 (simpleStaticCondenser.Ec.a,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Sc.b,sourceP.C.b,sourceP1.C.b,sinkP.C.a,sinkP1.C.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.0001122/1.389, allocations: 176.4 kB / 0.5286 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/1.389, allocations: 56.28 kB / 0.5287 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/1.392, allocations: 4.942 MB / 0.5335 GB, free: 7.434 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000402/1.393, allocations: 0.5305 MB / 0.534 GB, free: 6.898 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/1.393, allocations: 4 kB / 0.534 GB, free: 6.895 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/1.393, allocations: 3.984 kB / 0.534 GB, free: 6.891 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/1.394, allocations: 1.598 MB / 0.5356 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.394, allocations: 4 kB / 0.5356 GB, free: 5.371 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/1.394, allocations: 92.72 kB / 0.5357 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/1.394, allocations: 168.4 kB / 0.5359 GB, free: 5.125 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/1.394, allocations: 16 kB / 0.5359 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007392/1.395, allocations: 1.743 MB / 0.5376 GB, free: 3.324 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.395, allocations: 4 kB / 0.5376 GB, free: 3.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/1.396, allocations: 0.7679 MB / 0.5383 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/1.396, allocations: 103.3 kB / 0.5384 GB, free: 2.445 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/1.396, allocations: 43.75 kB / 0.5385 GB, free: 2.402 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.428e-05/1.396, allocations: 15.98 kB / 0.5385 GB, free: 2.387 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/1.396, allocations: 45.08 kB / 0.5385 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/1.396, allocations: 12 kB / 0.5385 GB, free: 2.332 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001592/1.396, allocations: 316.2 kB / 0.5388 GB, free: 2.043 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/1.396, allocations: 0 / 0.5388 GB, free: 2.043 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002751/1.399, allocations: 1.025 MB / 0.5398 GB, free: 1.016 MB / 458.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.002532/1.401, allocations: 1.337 MB / 0.5411 GB, free: 15.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005862/1.402, allocations: 0.7109 MB / 0.5418 GB, free: 15.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.402, allocations: 0 / 0.5418 GB, free: 15.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/1.402, allocations: 287 kB / 0.5421 GB, free: 14.82 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009325/1.403, allocations: 428.6 kB / 0.5425 GB, free: 14.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/1.405, allocations: 1.312 MB / 0.5438 GB, free: 13.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/1.405, allocations: 184.7 kB / 0.544 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001766/1.405, allocations: 64.88 kB / 0.544 GB, free: 12.85 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/1.405, allocations: 322 kB / 0.5443 GB, free: 12.53 MB / 474.7 MB Notification: Performance of SimCode: time 7.61e-07/1.405, allocations: 0 / 0.5443 GB, free: 12.53 MB / 474.7 MB Notification: Performance of Templates: time 0.04737/1.453, allocations: 51.32 MB / 0.5945 GB, free: 9.723 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.0912531185895205]