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 4.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo): time 0.5376/0.5376, allocations: 111.7 MB / 121.6 MB, free: 4.734 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09318/0.6308, allocations: 33.97 MB / 155.6 MB, free: 3.664 MB / 154.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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.583e-06/1.583e-06, allocations: 0 / 156.9 MB, free: 2.383 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.514e-06/9.097e-06, allocations: 2.312 kB / 156.9 MB, free: 2.379 MB / 154.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.06/1.06, allocations: 234.9 MB / 391.8 MB, free: 1.133 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02153/1.082, allocations: 23.59 MB / 415.4 MB, free: 9.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/1.082, allocations: 4 kB / 415.4 MB, free: 9.453 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] Notification: Performance of NFTyping.typeComponents: time 0.000418/1.082, allocations: 209 kB / 415.6 MB, free: 9.254 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004471/1.083, allocations: 333.7 kB / 415.9 MB, free: 8.926 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01105/1.094, allocations: 6.386 MB / 422.3 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007021/1.094, allocations: 0.9329 MB / 423.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/1.095, allocations: 214 kB / 423.4 MB, free: 1.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/1.095, allocations: 0.5417 MB / 424 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/1.095, allocations: 187.5 kB / 424.2 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/1.095, allocations: 40 kB / 424.2 MB, free: 0.5938 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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 4.2.0-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 4.2.0-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. Notification: Performance of NFFlatten.collectFunctions: time 0.01939/1.115, allocations: 16.31 MB / 440.5 MB, free: 276 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/1.115, allocations: 79.56 kB / 440.6 MB, free: 196 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000281/1.115, allocations: 187.6 kB / 440.8 MB, free: 8 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/1.126, allocations: 6.632 MB / 447.4 MB, free: 9.363 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.421e-05/1.126, allocations: 0 / 447.4 MB, free: 9.363 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.126, allocations: 4 kB / 447.4 MB, free: 9.359 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/1.126, allocations: 0 / 447.4 MB, free: 9.359 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.002773/1.128, allocations: 1.974 MB / 449.4 MB, free: 7.336 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/1.128, allocations: 8.625 kB / 449.4 MB, free: 7.328 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.451e-05/1.128, allocations: 64.89 kB / 449.4 MB, free: 7.266 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/1.129, allocations: 234.2 kB / 449.7 MB, free: 7.012 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/1.129, allocations: 29.38 kB / 449.7 MB, free: 6.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/1.129, allocations: 36.38 kB / 449.7 MB, free: 6.945 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/1.129, allocations: 473.8 kB / 450.2 MB, free: 6.434 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.129, allocations: 4.125 kB / 450.2 MB, free: 6.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/1.129, allocations: 19.94 kB / 450.2 MB, free: 6.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/1.129, allocations: 39.95 kB / 450.3 MB, free: 6.371 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/1.13, allocations: 179.2 kB / 450.4 MB, free: 6.199 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.02742/1.157, allocations: 18.34 MB / 468.8 MB, free: 3.773 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/1.157, allocations: 199.4 kB / 469 MB, free: 3.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/1.157, allocations: 74.84 kB / 469 MB, free: 3.496 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03437/1.192, allocations: 21.09 MB / 490.1 MB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/1.192, allocations: 34.56 kB / 490.2 MB, free: 14.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=124): time 2.455e-06/1.192, allocations: 0 / 490.2 MB, free: 14.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.0009282/1.193, allocations: 0.5576 MB / 490.7 MB, free: 13.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/1.193, allocations: 59.41 kB / 490.8 MB, free: 13.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/1.193, allocations: 240.8 kB / 491 MB, free: 13.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/1.193, allocations: 25.7 kB / 491 MB, free: 13.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/1.193, allocations: 221.6 kB / 491.3 MB, free: 13.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/1.193, allocations: 412.1 kB / 491.7 MB, free: 12.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/1.193, allocations: 121.3 kB / 491.8 MB, free: 12.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.466e-05/1.193, allocations: 370.6 kB / 492.1 MB, free: 12.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/1.193, allocations: 80.12 kB / 492.2 MB, free: 12.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/1.194, allocations: 175.7 kB / 492.4 MB, free: 12.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/1.194, allocations: 339.7 kB / 492.7 MB, free: 11.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.194, allocations: 0 / 492.7 MB, free: 11.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0006394/1.194, allocations: 409 kB / 493.1 MB, free: 11.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.195, allocations: 8 kB / 493.1 MB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.195, allocations: 7.938 kB / 493.1 MB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006223/1.195, allocations: 200.7 kB / 493.3 MB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.303e-05/1.195, allocations: 23.86 kB / 493.4 MB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005167/1.196, allocations: 1.171 MB / 494.5 MB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/1.196, allocations: 67.36 kB / 494.6 MB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/1.196, allocations: 11.88 kB / 494.6 MB, free: 9.711 MB / 490.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.0001009/1.196, allocations: 127.8 kB / 494.7 MB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/1.196, allocations: 27.91 kB / 494.8 MB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/1.198, allocations: 3.845 MB / 498.6 MB, free: 5.512 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003479/1.198, allocations: 450.3 kB / 499 MB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/1.198, allocations: 0 / 499 MB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.198, allocations: 3.984 kB / 499 MB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/1.2, allocations: 1.363 MB / 0.4887 GB, free: 3.652 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.2, allocations: 128 / 0.4887 GB, free: 3.652 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/1.2, allocations: 111.8 kB / 0.4888 GB, free: 3.543 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-05/1.2, allocations: 87.3 kB / 0.4889 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/1.2, allocations: 147.2 kB / 0.489 GB, free: 3.305 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/1.2, allocations: 16 kB / 0.489 GB, free: 3.289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004812/1.201, allocations: 1.204 MB / 0.4902 GB, free: 2.035 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.201, allocations: 4.031 kB / 0.4902 GB, free: 2.031 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/1.201, allocations: 0.6512 MB / 0.4908 GB, free: 1.355 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/1.201, allocations: 31.78 kB / 0.4909 GB, free: 1.324 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/1.201, allocations: 16 kB / 0.4909 GB, free: 1.309 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/1.201, allocations: 44.5 kB / 0.4909 GB, free: 1.262 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/1.202, allocations: 12 kB / 0.4909 GB, free: 1.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001231/1.202, allocations: 176.7 kB / 0.4911 GB, free: 1.074 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/1.202, allocations: 0 / 0.4911 GB, free: 1.074 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002047/1.204, allocations: 1.021 MB / 0.4921 GB, free: 52 kB / 490.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.002435/1.206, allocations: 1.394 MB / 0.4935 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005313/1.207, allocations: 0.69 MB / 0.4941 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/1.207, allocations: 8 kB / 0.4942 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/1.207, allocations: 313.5 kB / 0.4945 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/1.208, allocations: 1.729 MB / 0.4961 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006794/1.215, allocations: 1.343 MB / 0.4975 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/1.215, allocations: 176.7 kB / 0.4976 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001299/1.215, allocations: 63.33 kB / 0.4977 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/1.216, allocations: 249.1 kB / 0.4979 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/1.216, allocations: 4 kB / 0.4979 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of Templates: time 0.1871/1.403, allocations: 45.79 MB / 0.5426 GB, free: 77.03 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0724/1.475, allocations: 53.75 MB / 0.5951 GB, free: 32.89 MB / 0.4948 GB " [Timeout remaining time 659] 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: 4.566754715517163]