Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.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.8889/0.8889, allocations: 153.8 MB / 172.7 MB, free: 4.848 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.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005432/0.0005432, allocations: 11.97 kB / 250.3 MB, free: 3.879 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1753, allocations: 33.35 MB / 283.7 MB, free: 2.066 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.TestStaticWaterWaterExchangerDTorWorEff): time 1.925/2.101, allocations: 308.7 MB / 0.5784 GB, free: 17.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02684/2.127, allocations: 21.36 MB / 0.5993 GB, free: 8.355 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007572/2.128, allocations: 7.469 kB / 0.5993 GB, free: 8.355 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:69:3-71:37: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/StaticWaterWaterExchangerDTorWorEff.mo:72:3-74: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/StaticWaterWaterExchangerDTorWorEff.mo:75:3-77: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/StaticWaterWaterExchangerDTorWorEff.mo:78:3-80:36:writable] Warning: Connector Sc 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.0007493/2.129, allocations: 220.3 kB / 0.5995 GB, free: 8.262 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008199/2.13, allocations: 281.3 kB / 0.5998 GB, free: 8.07 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.02273/2.152, allocations: 7.622 MB / 0.6072 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/2.154, allocations: 0.8147 MB / 0.608 GB, free: 3.957 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/2.154, allocations: 191 kB / 0.6082 GB, free: 3.824 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/2.154, allocations: 339.2 kB / 0.6085 GB, free: 3.625 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/2.155, allocations: 234.6 kB / 0.6087 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.492e-05/2.155, allocations: 39.22 kB / 0.6088 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03029/2.185, allocations: 16.07 MB / 0.6245 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/2.185, allocations: 93.14 kB / 0.6246 GB, free: 5.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004677/2.186, allocations: 250.8 kB / 0.6248 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01821/2.204, allocations: 7.218 MB / 0.6318 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/2.204, allocations: 0 / 0.6318 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.395e-06/2.204, allocations: 0 / 0.6318 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.74e-05/2.204, allocations: 0.625 kB / 0.6318 GB, free: 13.62 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004254/2.208, allocations: 1.408 MB / 0.6332 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/2.208, allocations: 12.97 kB / 0.6332 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/2.208, allocations: 60.52 kB / 0.6333 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/2.209, allocations: 262.6 kB / 0.6335 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/2.209, allocations: 115.4 kB / 0.6337 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/2.209, allocations: 40.12 kB / 0.6337 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009683/2.21, allocations: 0.6439 MB / 0.6343 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/2.21, allocations: 0.625 kB / 0.6343 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/2.21, allocations: 16 kB / 0.6343 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/2.21, allocations: 31.97 kB / 0.6344 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/2.211, allocations: 453.4 kB / 0.6348 GB, free: 10.5 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.03893/2.25, allocations: 11.79 MB / 0.6463 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006439/2.25, allocations: 284.8 kB / 0.6466 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/2.251, allocations: 206.8 kB / 0.6468 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09535/2.346, allocations: 25.86 MB / 0.672 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/2.346, allocations: 34.5 kB / 0.6721 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 1.873e-06/2.346, allocations: 0 / 0.6721 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.004712/2.351, allocations: 1.339 MB / 0.6734 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/2.351, allocations: 51.41 kB / 0.6734 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/2.351, allocations: 227.9 kB / 0.6736 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/2.351, allocations: 25.7 kB / 0.6737 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/2.351, allocations: 213.4 kB / 0.6739 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/2.352, allocations: 349.8 kB / 0.6742 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/2.352, allocations: 109.5 kB / 0.6743 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001727/2.352, allocations: 354.7 kB / 0.6747 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/2.352, allocations: 196.9 kB / 0.6748 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/2.353, allocations: 303.6 kB / 0.6751 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/2.354, allocations: 0.5511 MB / 0.6757 GB, free: 460 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/2.354, allocations: 0 / 0.6757 GB, free: 460 kB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001432/2.355, allocations: 0.7267 MB / 0.6764 GB, free: 15.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/2.355, allocations: 12.27 kB / 0.6764 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/2.355, allocations: 8.656 kB / 0.6764 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/2.357, allocations: 0.6927 MB / 0.6771 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/2.357, allocations: 11.94 kB / 0.6771 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/2.359, allocations: 1.054 MB / 0.6781 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/2.359, allocations: 59.56 kB / 0.6782 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/2.36, allocations: 12.75 kB / 0.6782 GB, free: 13.84 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (exchangerWaterSteamDTorWorEFF.Sc.b,exchangerWaterSteamDTorWorEFF.Sf.b,exchangerWaterSteamDTorWorEFF.Ef.a,exchangerWaterSteamDTorWorEFF.Ec.a,sinkWaterSteam_FC.C.a,sourceWaterSteam_FC.C.b,sinkWaterSteam_FF.C.a,sourceWaterSteam_FF.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002305/2.36, allocations: 170.3 kB / 0.6783 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.356e-05/2.36, allocations: 48.64 kB / 0.6784 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/2.363, allocations: 2.022 MB / 0.6804 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001619/2.364, allocations: 0.9793 MB / 0.6813 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/2.364, allocations: 1.219 kB / 0.6813 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/2.364, allocations: 11.92 kB / 0.6813 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/2.368, allocations: 2.08 MB / 0.6834 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/2.368, allocations: 4 kB / 0.6834 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/2.368, allocations: 95.84 kB / 0.6835 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008134/2.369, allocations: 485.5 kB / 0.6839 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/2.369, allocations: 16 kB / 0.6839 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/2.37, allocations: 1.125 MB / 0.685 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/2.37, allocations: 8.688 kB / 0.6851 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/2.372, allocations: 1.098 MB / 0.6861 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/2.372, allocations: 111.2 kB / 0.6862 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/2.372, allocations: 15.95 kB / 0.6862 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/2.373, allocations: 23.98 kB / 0.6863 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/2.373, allocations: 56.48 kB / 0.6863 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/2.373, allocations: 24 kB / 0.6863 GB, free: 5.309 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002715/2.373, allocations: 231.1 kB / 0.6866 GB, free: 5.082 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/2.373, allocations: 0.5625 kB / 0.6866 GB, free: 5.082 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002502/2.376, allocations: 1.002 MB / 0.6875 GB, free: 4.078 MB / 0.545 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003665/2.379, allocations: 1.16 MB / 0.6887 GB, free: 2.926 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001943/2.381, allocations: 0.9474 MB / 0.6896 GB, free: 1.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/2.381, allocations: 4 kB / 0.6896 GB, free: 1.945 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/2.382, allocations: 436.3 kB / 0.69 GB, free: 1.523 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/2.384, allocations: 369 kB / 0.6904 GB, free: 1.219 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/2.386, allocations: 1.41 MB / 0.6917 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/2.387, allocations: 382.2 kB / 0.6921 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002213/2.387, allocations: 49.88 kB / 0.6922 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/2.387, allocations: 39.44 kB / 0.6922 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/2.387, allocations: 4.688 kB / 0.6922 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.06714/2.454, allocations: 44.07 MB / 0.7352 GB, free: 4.082 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.15872216783464] Failed to read output from testmodel.py, exit status != 0: 2.632827866822481 2.900148513 0.44152368099999995 Calling exit ...