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.4897/0.4897, allocations: 111.7 MB / 121.5 MB, free: 4.797 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08536/0.575, allocations: 33.97 MB / 155.5 MB, free: 3.73 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.843e-06/1.843e-06, allocations: 0 / 156.8 MB, free: 2.477 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.307e-05, allocations: 2.312 kB / 156.8 MB, free: 2.473 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.134/1.134, allocations: 234.8 MB / 391.6 MB, free: 1.207 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02115/1.155, allocations: 23.58 MB / 415.2 MB, free: 9.535 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/1.155, allocations: 4 kB / 415.2 MB, free: 9.531 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.0003945/1.155, allocations: 212.6 kB / 415.4 MB, free: 9.328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004299/1.156, allocations: 337.7 kB / 415.8 MB, free: 8.996 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01171/1.168, allocations: 6.386 MB / 422.1 MB, free: 2.586 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007865/1.168, allocations: 0.929 MB / 423.1 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/1.169, allocations: 210 kB / 423.3 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/1.169, allocations: 0.53 MB / 423.8 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/1.169, allocations: 199.4 kB / 424 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/1.169, allocations: 40 kB / 424 MB, free: 0.6758 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.01838/1.188, allocations: 16.32 MB / 440.4 MB, free: 348 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.522e-05/1.188, allocations: 75.62 kB / 440.4 MB, free: 272 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/1.188, allocations: 187.6 kB / 440.6 MB, free: 84 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009297/1.197, allocations: 6.663 MB / 447.3 MB, free: 9.406 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/1.197, allocations: 0 / 447.3 MB, free: 9.406 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.784e-06/1.197, allocations: 0 / 447.3 MB, free: 9.406 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/1.197, allocations: 4 kB / 447.3 MB, free: 9.402 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.002705/1.2, allocations: 1.974 MB / 449.3 MB, free: 7.379 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/1.2, allocations: 8.625 kB / 449.3 MB, free: 7.371 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.217e-05/1.2, allocations: 68.88 kB / 449.3 MB, free: 7.305 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/1.2, allocations: 230.2 kB / 449.6 MB, free: 7.055 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/1.2, allocations: 29.38 kB / 449.6 MB, free: 7.023 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/1.2, allocations: 40.31 kB / 449.6 MB, free: 6.984 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/1.201, allocations: 473.8 kB / 450.1 MB, free: 6.473 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.201, allocations: 192 / 450.1 MB, free: 6.473 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/1.201, allocations: 19.94 kB / 450.1 MB, free: 6.453 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/1.201, allocations: 43.95 kB / 450.1 MB, free: 6.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/1.201, allocations: 183.2 kB / 450.3 MB, free: 6.23 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.02663/1.228, allocations: 18.33 MB / 468.7 MB, free: 3.812 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/1.228, allocations: 199.4 kB / 468.8 MB, free: 3.609 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.296e-05/1.228, allocations: 74.84 kB / 468.9 MB, free: 3.535 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03391/1.262, allocations: 21.09 MB / 490 MB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/1.262, allocations: 34.56 kB / 490 MB, free: 14.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=124): time 3.146e-06/1.262, allocations: 4 kB / 490.1 MB, free: 14.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.0009415/1.263, allocations: 0.5615 MB / 490.6 MB, free: 13.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/1.263, allocations: 55.41 kB / 490.7 MB, free: 13.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/1.263, allocations: 232.9 kB / 490.9 MB, free: 13.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/1.263, allocations: 25.7 kB / 490.9 MB, free: 13.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/1.263, allocations: 229.6 kB / 491.1 MB, free: 13.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/1.263, allocations: 416.1 kB / 491.6 MB, free: 12.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/1.263, allocations: 121.4 kB / 491.7 MB, free: 12.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.931e-05/1.264, allocations: 366.6 kB / 492 MB, free: 12.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/1.264, allocations: 76.12 kB / 492.1 MB, free: 12.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/1.264, allocations: 179.6 kB / 492.3 MB, free: 12.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/1.264, allocations: 326.9 kB / 492.6 MB, free: 11.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.264, allocations: 4 kB / 492.6 MB, free: 11.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.000373/1.264, allocations: 413 kB / 493 MB, free: 11.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.264, allocations: 11.98 kB / 493 MB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.264, allocations: 4.25 kB / 493 MB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005946/1.265, allocations: 209.4 kB / 493.2 MB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.832e-05/1.265, allocations: 19.98 kB / 493.2 MB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005182/1.266, allocations: 1.148 MB / 494.4 MB, free: 9.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/1.266, allocations: 71.3 kB / 494.5 MB, free: 9.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/1.266, allocations: 11.98 kB / 494.5 MB, free: 9.758 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.0001091/1.266, allocations: 133.8 kB / 494.6 MB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/1.266, allocations: 19.98 kB / 494.6 MB, free: 9.598 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/1.268, allocations: 3.849 MB / 498.5 MB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003223/1.268, allocations: 454.4 kB / 498.9 MB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/1.268, allocations: 0 / 498.9 MB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/1.268, allocations: 7.984 kB / 498.9 MB, free: 5.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/1.27, allocations: 1.355 MB / 0.4886 GB, free: 3.691 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.27, allocations: 4.125 kB / 0.4886 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/1.27, allocations: 103.9 kB / 0.4887 GB, free: 3.586 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.572e-05/1.27, allocations: 91.23 kB / 0.4887 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/1.27, allocations: 165.8 kB / 0.4889 GB, free: 3.332 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/1.27, allocations: 8 kB / 0.4889 GB, free: 3.324 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004491/1.271, allocations: 1.195 MB / 0.4901 GB, free: 2.074 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.271, allocations: 0 / 0.4901 GB, free: 2.074 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/1.271, allocations: 0.6513 MB / 0.4907 GB, free: 1.402 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/1.271, allocations: 39.78 kB / 0.4907 GB, free: 1.363 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/1.271, allocations: 11.94 kB / 0.4908 GB, free: 1.352 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/1.271, allocations: 44.56 kB / 0.4908 GB, free: 1.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/1.271, allocations: 16 kB / 0.4908 GB, free: 1.289 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001117/1.271, allocations: 168.7 kB / 0.491 GB, free: 1.121 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/1.271, allocations: 0 / 0.491 GB, free: 1.121 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001976/1.273, allocations: 1.025 MB / 0.492 GB, free: 96 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.002404/1.276, allocations: 1.396 MB / 0.4933 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006548/1.276, allocations: 0.6975 MB / 0.494 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/1.276, allocations: 4 kB / 0.494 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/1.277, allocations: 251.6 kB / 0.4943 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009433/1.277, allocations: 0.4928 MB / 0.4947 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007086/1.285, allocations: 1.344 MB / 0.4961 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/1.285, allocations: 180.7 kB / 0.4962 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002079/1.285, allocations: 67.31 kB / 0.4963 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003603/1.285, allocations: 269.1 kB / 0.4966 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/1.285, allocations: 4 kB / 0.4966 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.206/1.491, allocations: 51.39 MB / 0.5467 GB, free: 73.73 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07361/1.565, allocations: 53.76 MB / 0.5992 GB, free: 29.6 MB / 0.4948 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: 4.862549905665219]