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.5591/0.5591, allocations: 120.4 MB / 140.2 MB, free: 12.97 MB / 138.7 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 2.214e-06/2.214e-06, allocations: 0 / 218 MB, free: 8.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.794e-05, allocations: 4.219 kB / 218 MB, free: 8.613 MB / 202.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 0.9621/0.9621, allocations: 255.6 MB / 473.6 MB, free: 7.512 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01872/0.9808, allocations: 21.58 MB / 495.2 MB, free: 1.852 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.981, allocations: 4 kB / 495.2 MB, free: 1.848 MB / 442.7 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.0004039/0.9814, allocations: 194.6 kB / 495.4 MB, free: 1.656 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.9818, allocations: 341.6 kB / 495.7 MB, free: 1.32 MB / 442.7 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.2087/1.19, allocations: 7.467 MB / 0.4914 GB, free: 1.594 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009512/1.191, allocations: 0.9135 MB / 0.4923 GB, free: 1.32 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003417/1.192, allocations: 201.7 kB / 0.4925 GB, free: 1.293 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006506/1.192, allocations: 0.5155 MB / 0.493 GB, free: 1.246 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/1.193, allocations: 195.4 kB / 0.4932 GB, free: 1.219 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/1.193, allocations: 39.22 kB / 0.4932 GB, free: 1.219 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01713/1.21, allocations: 15.12 MB / 0.508 GB, free: 10.78 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/1.21, allocations: 107.8 kB / 0.5081 GB, free: 10.7 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002952/1.21, allocations: 209.8 kB / 0.5083 GB, free: 10.62 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/1.222, allocations: 9.205 MB / 0.5173 GB, free: 1.859 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.222, allocations: 4 kB / 0.5173 GB, free: 1.855 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.222, allocations: 0.9375 kB / 0.5173 GB, free: 1.855 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/1.222, allocations: 1.125 kB / 0.5173 GB, free: 1.855 MB / 458.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.003288/1.225, allocations: 1.438 MB / 0.5187 GB, free: 396 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.225, allocations: 12.03 kB / 0.5187 GB, free: 384 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.193e-05/1.225, allocations: 73.33 kB / 0.5188 GB, free: 312 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/1.226, allocations: 255.9 kB / 0.519 GB, free: 52 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/1.226, allocations: 29.38 kB / 0.519 GB, free: 24 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/1.226, allocations: 37 kB / 0.5191 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006037/1.226, allocations: 0.7007 MB / 0.5198 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/1.226, allocations: 8.031 kB / 0.5198 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/1.226, allocations: 20.88 kB / 0.5198 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/1.226, allocations: 35.95 kB / 0.5198 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/1.227, allocations: 467 kB / 0.5203 GB, free: 14.75 MB / 474.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.03321/1.26, allocations: 21.64 MB / 0.5414 GB, free: 9.285 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/1.26, allocations: 284.1 kB / 0.5417 GB, free: 8.996 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/1.261, allocations: 225 kB / 0.5419 GB, free: 8.777 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03829/1.299, allocations: 23.84 MB / 0.5652 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/1.299, allocations: 38.56 kB / 0.5652 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=124): time 2.665e-06/1.299, allocations: 0 / 0.5652 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124): time 0.001447/1.3, allocations: 1.049 MB / 0.5662 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/1.3, allocations: 59.34 kB / 0.5663 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/1.301, allocations: 242.4 kB / 0.5665 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.301, allocations: 33.7 kB / 0.5665 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/1.301, allocations: 228.7 kB / 0.5668 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/1.301, allocations: 416.8 kB / 0.5672 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/1.301, allocations: 109.6 kB / 0.5673 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.301, allocations: 366.8 kB / 0.5676 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/1.301, allocations: 221.2 kB / 0.5678 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/1.302, allocations: 336.5 kB / 0.5681 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/1.302, allocations: 0.6259 MB / 0.5688 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.302, allocations: 4 kB / 0.5688 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0006985/1.303, allocations: 0.7672 MB / 0.5695 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.303, allocations: 8 kB / 0.5695 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.303, allocations: 1.062 kB / 0.5695 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009188/1.304, allocations: 345 kB / 0.5698 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.22e-05/1.304, allocations: 15.98 kB / 0.5699 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007174/1.304, allocations: 1.289 MB / 0.5711 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/1.305, allocations: 63.41 kB / 0.5712 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/1.305, allocations: 20.03 kB / 0.5712 GB, free: 10.61 MB / 0.5105 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.000159/1.305, allocations: 177.3 kB / 0.5714 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/1.305, allocations: 47.62 kB / 0.5714 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/1.307, allocations: 4.053 MB / 0.5754 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000661/1.308, allocations: 0.8207 MB / 0.5762 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/1.308, allocations: 0.5 kB / 0.5762 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/1.308, allocations: 3.984 kB / 0.5762 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/1.31, allocations: 1.912 MB / 0.578 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/1.31, allocations: 1.188 kB / 0.578 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/1.31, allocations: 98.14 kB / 0.5781 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003914/1.31, allocations: 246.5 kB / 0.5784 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/1.31, allocations: 16 kB / 0.5784 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006278/1.311, allocations: 1.34 MB / 0.5797 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.311, allocations: 0 / 0.5797 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/1.312, allocations: 0.9644 MB / 0.5806 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/1.312, allocations: 107.3 kB / 0.5807 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/1.312, allocations: 34.44 kB / 0.5808 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/1.312, allocations: 16 kB / 0.5808 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/1.312, allocations: 48.62 kB / 0.5808 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/1.312, allocations: 16 kB / 0.5809 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002523/1.312, allocations: 355.1 kB / 0.5812 GB, free: 148 kB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/1.312, allocations: 0 / 0.5812 GB, free: 148 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001757/1.314, allocations: 1.017 MB / 0.5822 GB, free: 15.12 MB / 0.5261 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.002554/1.317, allocations: 1.293 MB / 0.5834 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008255/1.317, allocations: 0.9494 MB / 0.5844 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.317, allocations: 0 / 0.5844 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/1.318, allocations: 365.7 kB / 0.5847 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009922/1.319, allocations: 396.1 kB / 0.5851 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/1.32, allocations: 1.465 MB / 0.5865 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/1.32, allocations: 400 kB / 0.5869 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/1.32, allocations: 44.5 kB / 0.587 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/1.32, allocations: 0 / 0.587 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of Templates: time 0.02705/1.347, allocations: 31.88 MB / 0.6181 GB, free: 10.64 MB / 0.5573 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.264499341137707] Failed to read output from testmodel.py, exit status != 0: 1.600845916196704 1.501215322 0.27699449200000004 Calling exit ...