Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.8307/0.8307, allocations: 111.6 MB / 131 MB, free: 5.082 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.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 175.7 MB, free: 9.457 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.197e-05, allocations: 2.312 kB / 175.7 MB, free: 9.453 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.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser): time 1.71/1.71, allocations: 256.8 MB / 432.5 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4413/2.151, allocations: 183.6 MB / 0.6017 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005445/2.152, allocations: 19.81 kB / 0.6017 GB, free: 4.938 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:45:3-46:81:writable] Warning: Connector Ec is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:47:3-48:80:writable] Warning: Connector Ef is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:49:3-50:77:writable] Warning: Connector Sf is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:51:3-52:79:writable] Warning: Connector Sc is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007044/2.152, allocations: 214.5 kB / 0.6019 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000978/2.153, allocations: 391.3 kB / 0.6023 GB, free: 4.348 MB / 0.5105 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh1satp 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/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh2satp 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/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du1satp_der 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/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du2satp_der 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.03232/2.186, allocations: 12.03 MB / 0.614 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001649/2.187, allocations: 1.081 MB / 0.6151 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005205/2.188, allocations: 361.5 kB / 0.6154 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008298/2.189, allocations: 0.6467 MB / 0.616 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/2.189, allocations: 279.1 kB / 0.6163 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/2.189, allocations: 68 kB / 0.6164 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03692/2.226, allocations: 18.89 MB / 0.6348 GB, free: 3.039 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002938/2.226, allocations: 199.1 kB / 0.635 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005338/2.227, allocations: 307.2 kB / 0.6353 GB, free: 2.543 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02605/2.253, allocations: 13.02 MB / 0.648 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/2.253, allocations: 4 kB / 0.648 GB, free: 5.488 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.242e-06/2.253, allocations: 0 / 0.648 GB, free: 5.488 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.094e-05/2.253, allocations: 0 / 0.648 GB, free: 5.488 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.005081/2.258, allocations: 2.421 MB / 0.6504 GB, free: 3.02 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/2.258, allocations: 11.98 kB / 0.6504 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/2.258, allocations: 171.2 kB / 0.6506 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000734/2.259, allocations: 451.8 kB / 0.651 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/2.259, allocations: 54 kB / 0.651 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-05/2.259, allocations: 68 kB / 0.6511 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/2.261, allocations: 0.8494 MB / 0.6519 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/2.261, allocations: 0 / 0.6519 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/2.261, allocations: 28 kB / 0.652 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-05/2.261, allocations: 36.59 kB / 0.652 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008424/2.262, allocations: 429.6 kB / 0.6524 GB, free: 0.8477 MB / 0.5573 GB 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.01684/2.279, allocations: 7.063 MB / 0.6593 GB, free: 9.703 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/2.279, allocations: 204 kB / 0.6595 GB, free: 9.492 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/2.279, allocations: 129.8 kB / 0.6596 GB, free: 9.363 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.101/2.38, allocations: 27.74 MB / 0.6867 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/2.38, allocations: 41.38 kB / 0.6868 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=86): time 1.813e-06/2.38, allocations: 0 / 0.6868 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86): time 0.00233/2.383, allocations: 0.7697 MB / 0.6875 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/2.383, allocations: 51.41 kB / 0.6876 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008468/2.384, allocations: 0.6156 MB / 0.6882 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/2.384, allocations: 33.7 kB / 0.6882 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/2.384, allocations: 455.5 kB / 0.6886 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000538/2.385, allocations: 313.3 kB / 0.6889 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/2.385, allocations: 199.6 kB / 0.6891 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000352/2.385, allocations: 0.5665 MB / 0.6897 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/2.385, allocations: 133.5 kB / 0.6898 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/2.386, allocations: 425.7 kB / 0.6902 GB, free: 9.828 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009327/2.387, allocations: 0.6521 MB / 0.6908 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/2.387, allocations: 4 kB / 0.6908 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001392/2.388, allocations: 0.7168 MB / 0.6915 GB, free: 8.336 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/2.388, allocations: 8 kB / 0.6915 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/2.388, allocations: 4 kB / 0.6916 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/2.39, allocations: 296.2 kB / 0.6918 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/2.39, allocations: 59.92 kB / 0.6919 GB, free: 7.969 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/2.392, allocations: 1.858 MB / 0.6937 GB, free: 6.051 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/2.392, allocations: 75.36 kB / 0.6938 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/2.392, allocations: 20 kB / 0.6938 GB, free: 5.957 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.ftype,sourceP.C.ftype,simpleStaticCondenser.fluid_c,simpleStaticCondenser.fluid_f,sinkP.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(2,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003515/2.393, allocations: 240.4 kB / 0.694 GB, free: 5.711 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/2.393, allocations: 75.52 kB / 0.6941 GB, free: 5.637 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002952/2.396, allocations: 2.013 MB / 0.6961 GB, free: 3.543 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001101/2.397, allocations: 0.6845 MB / 0.6967 GB, free: 2.844 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/2.397, allocations: 4.5 kB / 0.6967 GB, free: 2.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/2.397, allocations: 3.984 kB / 0.6967 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/2.4, allocations: 2.098 MB / 0.6988 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/2.4, allocations: 0 / 0.6988 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/2.401, allocations: 99.84 kB / 0.6989 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006821/2.401, allocations: 200.6 kB / 0.6991 GB, free: 388 kB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/2.401, allocations: 16 kB / 0.6991 GB, free: 372 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/2.403, allocations: 1.82 MB / 0.7009 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/2.403, allocations: 4 kB / 0.7009 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/2.404, allocations: 0.9609 MB / 0.7018 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/2.405, allocations: 161 kB / 0.702 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.508e-05/2.405, allocations: 23.92 kB / 0.702 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/2.405, allocations: 12 kB / 0.702 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.462e-05/2.405, allocations: 44.58 kB / 0.702 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/2.405, allocations: 27.92 kB / 0.7021 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005368/2.406, allocations: 410.8 kB / 0.7025 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/2.406, allocations: 0 / 0.7025 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004049/2.41, allocations: 1.535 MB / 0.704 GB, free: 11.28 MB / 0.6198 GB 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 {(2,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006634/2.416, allocations: 2.308 MB / 0.7062 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001429/2.418, allocations: 0.8754 MB / 0.7071 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/2.418, allocations: 4.062 kB / 0.7071 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006505/2.418, allocations: 354.5 kB / 0.7074 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/2.422, allocations: 411.5 kB / 0.7078 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/2.425, allocations: 1.683 MB / 0.7094 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/2.426, allocations: 490.6 kB / 0.7099 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003189/2.427, allocations: 92.58 kB / 0.71 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/2.427, allocations: 64.48 kB / 0.7101 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/2.427, allocations: 0 / 0.7101 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of Templates: time 0.2037/2.63, allocations: 56.91 MB / 0.7656 GB, free: 248 MB / 0.6198 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.328835068969056]