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.8531/0.8531, allocations: 153.8 MB / 173.4 MB, free: 4.93 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.0005151/0.0005151, allocations: 11.98 kB / 251.1 MB, free: 3.938 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1715, allocations: 33.37 MB / 284.5 MB, free: 2.148 MB / 222.1 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.826/1.998, allocations: 309.1 MB / 0.5797 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02479/2.022, allocations: 24.25 MB / 0.6033 GB, free: 4.762 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005827/2.023, allocations: 8.625 kB / 0.6034 GB, free: 4.758 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:58:3-60:44: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:61:3-63:42: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:64:3-66:36: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:67:3-69:37: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:30:3-31:45: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:33:3-34:47: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.0006115/2.024, allocations: 231.6 kB / 0.6036 GB, free: 4.641 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000641/2.024, allocations: 319.6 kB / 0.6039 GB, free: 4.426 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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.01916/2.043, allocations: 7.54 MB / 0.6112 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/2.045, allocations: 0.8878 MB / 0.6121 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/2.045, allocations: 192.3 kB / 0.6123 GB, free: 388 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004548/2.045, allocations: 358.5 kB / 0.6126 GB, free: 176 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/2.046, allocations: 266 kB / 0.6129 GB, free: 8 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/2.046, allocations: 38.56 kB / 0.6129 GB, free: 8 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04612/2.092, allocations: 16.11 MB / 0.6287 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/2.092, allocations: 99.52 kB / 0.6288 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000735/2.093, allocations: 318.3 kB / 0.6291 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02476/2.117, allocations: 7.113 MB / 0.636 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/2.117, allocations: 0 / 0.636 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.704e-06/2.117, allocations: 0 / 0.636 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.933e-05/2.117, allocations: 0 / 0.636 GB, free: 10.18 MB / 0.4981 GB 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.006223/2.124, allocations: 1.45 MB / 0.6374 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/2.124, allocations: 13 kB / 0.6374 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/2.124, allocations: 72.42 kB / 0.6375 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/2.124, allocations: 257.1 kB / 0.6377 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/2.125, allocations: 36.44 kB / 0.6378 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.988e-05/2.125, allocations: 36.38 kB / 0.6378 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/2.126, allocations: 0.7023 MB / 0.6385 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/2.126, allocations: 8.625 kB / 0.6385 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-05/2.126, allocations: 23.98 kB / 0.6385 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/2.126, allocations: 33.97 kB / 0.6386 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/2.127, allocations: 463.7 kB / 0.639 GB, free: 7.012 MB / 0.4981 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.1184/2.246, allocations: 22.63 MB / 0.6611 GB, free: 104 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009893/2.247, allocations: 295.5 kB / 0.6614 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/2.247, allocations: 224.8 kB / 0.6616 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0961/2.343, allocations: 23.77 MB / 0.6848 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/2.344, allocations: 34.56 kB / 0.6848 GB, free: 7.754 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 2.234e-06/2.344, allocations: 0 / 0.6848 GB, free: 7.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002364/2.346, allocations: 1.057 MB / 0.6859 GB, free: 6.684 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/2.346, allocations: 51.41 kB / 0.6859 GB, free: 6.621 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/2.346, allocations: 328.5 kB / 0.6862 GB, free: 6.293 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/2.346, allocations: 30.64 kB / 0.6863 GB, free: 6.258 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/2.347, allocations: 225.7 kB / 0.6865 GB, free: 6.031 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/2.347, allocations: 420.2 kB / 0.6869 GB, free: 5.617 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/2.347, allocations: 113.6 kB / 0.687 GB, free: 5.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001785/2.347, allocations: 366.8 kB / 0.6873 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/2.347, allocations: 229.2 kB / 0.6876 GB, free: 4.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/2.348, allocations: 336 kB / 0.6879 GB, free: 4.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008132/2.349, allocations: 0.6253 MB / 0.6885 GB, free: 3.906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/2.349, allocations: 0 / 0.6885 GB, free: 3.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001209/2.35, allocations: 0.7776 MB / 0.6892 GB, free: 3.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/2.35, allocations: 4 kB / 0.6893 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/2.35, allocations: 4 kB / 0.6893 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/2.352, allocations: 341.3 kB / 0.6896 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/2.352, allocations: 19.98 kB / 0.6896 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/2.353, allocations: 1.289 MB / 0.6909 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/2.353, allocations: 75.25 kB / 0.6909 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/2.353, allocations: 12.72 kB / 0.6909 GB, free: 1.32 MB / 0.545 GB 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.0002263/2.353, allocations: 180 kB / 0.6911 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/2.354, allocations: 60.2 kB / 0.6912 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004056/2.358, allocations: 4.035 MB / 0.6951 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001188/2.359, allocations: 0.8157 MB / 0.6959 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/2.359, allocations: 1.125 kB / 0.6959 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/2.359, allocations: 7.922 kB / 0.6959 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/2.362, allocations: 2.11 MB / 0.698 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/2.362, allocations: 0.75 kB / 0.698 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/2.362, allocations: 95.89 kB / 0.6981 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007847/2.363, allocations: 243.4 kB / 0.6983 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/2.363, allocations: 12 kB / 0.6983 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/2.364, allocations: 1.349 MB / 0.6996 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/2.364, allocations: 0 / 0.6996 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/2.366, allocations: 0.9783 MB / 0.7006 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/2.366, allocations: 115.2 kB / 0.7007 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/2.366, allocations: 35.78 kB / 0.7007 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/2.366, allocations: 15.98 kB / 0.7007 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/2.366, allocations: 43.02 kB / 0.7008 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/2.366, allocations: 25.3 kB / 0.7008 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005396/2.367, allocations: 422.8 kB / 0.7012 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/2.367, allocations: 0 / 0.7012 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002573/2.369, allocations: 1.01 MB / 0.7022 GB, free: 5.465 MB / 0.5606 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 {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004234/2.374, allocations: 1.177 MB / 0.7033 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001572/2.375, allocations: 0.9298 MB / 0.7043 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/2.375, allocations: 3.938 kB / 0.7043 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006168/2.376, allocations: 370 kB / 0.7046 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/2.378, allocations: 429.1 kB / 0.705 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/2.38, allocations: 1.501 MB / 0.7065 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006474/2.381, allocations: 0.9896 MB / 0.7075 GB, free: 68 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/2.381, allocations: 51.44 kB / 0.7075 GB, free: 16 kB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/2.381, allocations: 0 / 0.7075 GB, free: 16 kB / 0.5606 GB Notification: Performance of Templates: time 0.04744/2.428, allocations: 32.01 MB / 0.7388 GB, free: 0.5078 MB / 0.5919 GB " [Timeout remaining time 657] 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: 11.513506187824532] Failed to read output from testmodel.py, exit status != 0: 2.5975505218375474 2.84409721 0.7237089099999999 Calling exit ...