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.5474/0.5474, allocations: 120.4 MB / 140.2 MB, free: 13 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.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 2.224e-06/2.224e-06, allocations: 0 / 218 MB, free: 8.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.458e-05, allocations: 2.281 kB / 218 MB, free: 8.617 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.TestStaticWaterWaterExchangerDTorWorEff): time 0.9655/0.9655, allocations: 255.4 MB / 473.4 MB, free: 7.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01966/0.9852, allocations: 21.36 MB / 494.7 MB, free: 2.305 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.9854, allocations: 4 kB / 494.7 MB, free: 2.301 MB / 442.7 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.000452/0.9859, allocations: 222.6 kB / 495 MB, free: 2.082 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.9862, allocations: 294 kB / 495.2 MB, free: 1.793 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.23/1.216, allocations: 7.669 MB / 0.4911 GB, free: 1.734 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001005/1.217, allocations: 0.8377 MB / 0.4919 GB, free: 1.496 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/1.218, allocations: 200 kB / 0.4921 GB, free: 1.473 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000578/1.218, allocations: 495.7 kB / 0.4926 GB, free: 1.43 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/1.218, allocations: 182.5 kB / 0.4928 GB, free: 1.406 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/1.218, allocations: 37.81 kB / 0.4928 GB, free: 1.406 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02054/1.239, allocations: 16.07 MB / 0.5085 GB, free: 10.46 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/1.239, allocations: 105.2 kB / 0.5086 GB, free: 10.39 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003598/1.239, allocations: 197.9 kB / 0.5088 GB, free: 10.27 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01434/1.254, allocations: 9.431 MB / 0.518 GB, free: 1.145 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.254, allocations: 1.656 kB / 0.518 GB, free: 1.145 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.333e-06/1.254, allocations: 0.5312 kB / 0.518 GB, free: 1.145 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/1.254, allocations: 0 / 0.518 GB, free: 1.145 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.003043/1.257, allocations: 1.401 MB / 0.5194 GB, free: 15.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/1.257, allocations: 11.59 kB / 0.5194 GB, free: 15.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/1.257, allocations: 64.52 kB / 0.5195 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/1.257, allocations: 249.9 kB / 0.5197 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/1.257, allocations: 119.6 kB / 0.5198 GB, free: 15.26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/1.257, allocations: 36.97 kB / 0.5198 GB, free: 15.22 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/1.258, allocations: 0.6412 MB / 0.5205 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.258, allocations: 4.25 kB / 0.5205 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/1.258, allocations: 19.94 kB / 0.5205 GB, free: 14.53 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/1.258, allocations: 30.31 kB / 0.5205 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/1.259, allocations: 450.8 kB / 0.5209 GB, free: 14.07 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.02958/1.288, allocations: 11.79 MB / 0.5325 GB, free: 2.477 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/1.289, allocations: 280.3 kB / 0.5327 GB, free: 2.199 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003671/1.289, allocations: 202.8 kB / 0.5329 GB, free: 1.996 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05946/1.349, allocations: 25.88 MB / 0.5582 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/1.349, allocations: 34.56 kB / 0.5582 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=103): time 2.094e-06/1.349, allocations: 0 / 0.5582 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of matching and sorting (n=103): time 0.00255/1.351, allocations: 1.335 MB / 0.5595 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/1.351, allocations: 55.62 kB / 0.5596 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/1.351, allocations: 224 kB / 0.5598 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/1.351, allocations: 29.7 kB / 0.5598 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.523e-05/1.352, allocations: 216.5 kB / 0.56 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/1.352, allocations: 342.9 kB / 0.5604 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/1.352, allocations: 97.66 kB / 0.5604 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.311e-05/1.352, allocations: 358.7 kB / 0.5608 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/1.352, allocations: 196.9 kB / 0.561 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/1.352, allocations: 295.2 kB / 0.5613 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/1.353, allocations: 0.5549 MB / 0.5618 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.353, allocations: 4 kB / 0.5618 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0007735/1.354, allocations: 0.7259 MB / 0.5625 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.354, allocations: 8 kB / 0.5625 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.354, allocations: 4.281 kB / 0.5625 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/1.355, allocations: 0.6981 MB / 0.5632 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.418e-05/1.355, allocations: 19.09 kB / 0.5632 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/1.356, allocations: 1.061 MB / 0.5643 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/1.356, allocations: 55.58 kB / 0.5643 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/1.356, allocations: 19.98 kB / 0.5643 GB, free: 1.719 MB / 0.4948 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.0001511/1.356, allocations: 165.8 kB / 0.5645 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/1.356, allocations: 35.72 kB / 0.5645 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/1.358, allocations: 2.031 MB / 0.5665 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008851/1.359, allocations: 0.9874 MB / 0.5675 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.359, allocations: 3.938 kB / 0.5675 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/1.359, allocations: 8.922 kB / 0.5675 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/1.361, allocations: 2.07 MB / 0.5695 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.361, allocations: 4 kB / 0.5695 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/1.361, allocations: 98.38 kB / 0.5696 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004422/1.361, allocations: 481.6 kB / 0.5701 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/1.361, allocations: 12 kB / 0.5701 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008891/1.362, allocations: 1.119 MB / 0.5712 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.362, allocations: 11.75 kB / 0.5712 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009204/1.363, allocations: 1.103 MB / 0.5723 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/1.363, allocations: 111.8 kB / 0.5724 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/1.363, allocations: 20.55 kB / 0.5724 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/1.363, allocations: 28.17 kB / 0.5724 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/1.363, allocations: 56.11 kB / 0.5725 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/1.364, allocations: 24 kB / 0.5725 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001508/1.364, allocations: 235.1 kB / 0.5727 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/1.364, allocations: 0 / 0.5727 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005519/1.369, allocations: 0.998 MB / 0.5737 GB, free: 8.035 MB / 0.5105 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.004594/1.374, allocations: 1.284 MB / 0.5749 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002789/1.377, allocations: 0.9502 MB / 0.5759 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.377, allocations: 4 kB / 0.5759 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007275/1.377, allocations: 442.7 kB / 0.5763 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/1.378, allocations: 362.8 kB / 0.5766 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/1.38, allocations: 1.436 MB / 0.578 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/1.38, allocations: 386.2 kB / 0.5784 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/1.38, allocations: 40.5 kB / 0.5784 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/1.38, allocations: 0 / 0.5784 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of Templates: time 0.02641/1.406, allocations: 26.84 MB / 0.6047 GB, free: 8.551 MB / 0.5417 GB " [Timeout remaining time 658] 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: 6.919466098770499] Failed to read output from testmodel.py, exit status != 0: 1.6267535677179694 1.554038158 0.29840494300000003 Calling exit ...