Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.8572/0.8572, allocations: 153.8 MB / 173.4 MB, free: 4.879 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.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0007411/0.0007411, allocations: 11.98 kB / 251 MB, free: 3.883 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1757, allocations: 33.36 MB / 284.4 MB, free: 2.07 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.TestStaticWaterWaterExchanger): time 1.899/2.075, allocations: 308.9 MB / 0.5794 GB, free: 17.3 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02493/2.1, allocations: 20.65 MB / 0.5996 GB, free: 8.617 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005916/2.101, allocations: 5.25 kB / 0.5996 GB, free: 8.617 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42: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/StaticWaterWaterExchanger.mo:84:3-86:38: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/StaticWaterWaterExchanger.mo:87:3-89:37: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/StaticWaterWaterExchanger.mo:90:3-92: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.0006034/2.101, allocations: 176.1 kB / 0.5997 GB, free: 8.535 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008239/2.102, allocations: 320.2 kB / 0.6001 GB, free: 8.316 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.01849/2.121, allocations: 7.219 MB / 0.6071 GB, free: 5.207 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/2.122, allocations: 0.9834 MB / 0.6081 GB, free: 4.605 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/2.122, allocations: 229.7 kB / 0.6083 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/2.122, allocations: 402 kB / 0.6087 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/2.123, allocations: 297.4 kB / 0.6089 GB, free: 4.031 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.71e-05/2.123, allocations: 50.5 kB / 0.609 GB, free: 4.031 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02681/2.15, allocations: 14.46 MB / 0.6231 GB, free: 7.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002432/2.15, allocations: 131.4 kB / 0.6232 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005702/2.15, allocations: 290.7 kB / 0.6235 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0174/2.168, allocations: 6.97 MB / 0.6303 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/2.168, allocations: 0 / 0.6303 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/2.168, allocations: 1.25 kB / 0.6303 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.408e-05/2.168, allocations: 0 / 0.6303 GB, free: 15.98 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.005007/2.173, allocations: 1.51 MB / 0.6318 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/2.173, allocations: 8.031 kB / 0.6318 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002722/2.173, allocations: 81.98 kB / 0.6319 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/2.174, allocations: 282.6 kB / 0.6322 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002684/2.174, allocations: 207.1 kB / 0.6324 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-05/2.174, allocations: 44 kB / 0.6324 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/2.176, allocations: 0.7942 MB / 0.6332 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/2.176, allocations: 4 kB / 0.6332 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/2.176, allocations: 16 kB / 0.6332 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/2.176, allocations: 45.48 kB / 0.6332 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/2.177, allocations: 0.5848 MB / 0.6338 GB, free: 12.27 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.07809/2.255, allocations: 21.79 MB / 0.6551 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/2.256, allocations: 477.3 kB / 0.6555 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/2.257, allocations: 270.8 kB / 0.6558 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07779/2.335, allocations: 21.17 MB / 0.6765 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/2.335, allocations: 35.88 kB / 0.6765 GB, free: 472 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 3.095e-06/2.335, allocations: 0 / 0.6765 GB, free: 472 kB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01818/2.353, allocations: 3.181 MB / 0.6796 GB, free: 13.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/2.353, allocations: 64.19 kB / 0.6797 GB, free: 13.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/2.354, allocations: 245 kB / 0.6799 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/2.354, allocations: 37.64 kB / 0.6799 GB, free: 12.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/2.354, allocations: 237.7 kB / 0.6802 GB, free: 12.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/2.354, allocations: 436.1 kB / 0.6806 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/2.354, allocations: 126.1 kB / 0.6807 GB, free: 12.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001828/2.355, allocations: 362.8 kB / 0.6811 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/2.355, allocations: 289.6 kB / 0.6813 GB, free: 11.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007332/2.356, allocations: 385.2 kB / 0.6817 GB, free: 11.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/2.357, allocations: 0.7308 MB / 0.6824 GB, free: 10.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/2.357, allocations: 4 kB / 0.6824 GB, free: 10.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004436/2.362, allocations: 1.233 MB / 0.6836 GB, free: 9.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/2.362, allocations: 8 kB / 0.6836 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/2.362, allocations: 4 kB / 0.6836 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003966/2.366, allocations: 1.38 MB / 0.685 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/2.366, allocations: 20.77 kB / 0.685 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/2.368, allocations: 1.379 MB / 0.6863 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/2.369, allocations: 96.66 kB / 0.6864 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/2.369, allocations: 25.38 kB / 0.6865 GB, free: 6.125 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 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002702/2.369, allocations: 169.8 kB / 0.6866 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.26e-05/2.369, allocations: 51.62 kB / 0.6867 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004808/2.374, allocations: 3.89 MB / 0.6905 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002896/2.377, allocations: 1.255 MB / 0.6917 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/2.377, allocations: 4 kB / 0.6917 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/2.377, allocations: 3.984 kB / 0.6917 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007066/2.384, allocations: 2.6 MB / 0.6942 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/2.384, allocations: 0 / 0.6942 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/2.384, allocations: 99.89 kB / 0.6943 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002445/2.387, allocations: 0.8631 MB / 0.6952 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/2.387, allocations: 20.98 kB / 0.6952 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/2.389, allocations: 1.503 MB / 0.6967 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.389, allocations: 7.938 kB / 0.6967 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00492/2.394, allocations: 1.461 MB / 0.6981 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/2.394, allocations: 75.31 kB / 0.6982 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/2.394, allocations: 47.66 kB / 0.6982 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/2.395, allocations: 24.55 kB / 0.6982 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/2.395, allocations: 61.38 kB / 0.6983 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/2.395, allocations: 27.98 kB / 0.6983 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000409/2.395, allocations: 323.2 kB / 0.6986 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/2.395, allocations: 0 / 0.6986 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002734/2.398, allocations: 1.072 MB / 0.6997 GB, free: 8.348 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004137/2.402, allocations: 1.204 MB / 0.7009 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002406/2.405, allocations: 1.075 MB / 0.7019 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/2.405, allocations: 4 kB / 0.7019 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/2.406, allocations: 485 kB / 0.7024 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/2.408, allocations: 394.4 kB / 0.7028 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/2.411, allocations: 1.639 MB / 0.7044 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/2.411, allocations: 400.6 kB / 0.7047 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/2.411, allocations: 44.36 kB / 0.7048 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/2.411, allocations: 0 / 0.7048 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of Templates: time 0.04244/2.454, allocations: 28.53 MB / 0.7326 GB, free: 7.008 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.895129304379225] Failed to read output from testmodel.py, exit status != 0: 2.631174134090543 2.644762522 0.47358754 Calling exit ...