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.8798/0.8798, allocations: 153.8 MB / 172.7 MB, free: 4.859 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.0005769/0.0005769, allocations: 19.95 kB / 250.3 MB, free: 3.91 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1776, allocations: 33.35 MB / 283.7 MB, free: 2.074 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.949/2.126, allocations: 308.9 MB / 0.5787 GB, free: 17.36 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02489/2.151, allocations: 20.65 MB / 0.5988 GB, free: 8.684 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005717/2.152, allocations: 6.125 kB / 0.5988 GB, free: 8.684 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.0005409/2.152, allocations: 172.7 kB / 0.599 GB, free: 8.602 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006029/2.153, allocations: 323.7 kB / 0.5993 GB, free: 8.383 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.02019/2.173, allocations: 7.219 MB / 0.6064 GB, free: 5.215 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/2.175, allocations: 0.9812 MB / 0.6073 GB, free: 4.613 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/2.175, allocations: 242.3 kB / 0.6076 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003906/2.175, allocations: 397.2 kB / 0.6079 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/2.176, allocations: 298.6 kB / 0.6082 GB, free: 4.035 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.119e-05/2.176, allocations: 52.41 kB / 0.6083 GB, free: 4.035 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02895/2.205, allocations: 14.46 MB / 0.6224 GB, free: 7.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002854/2.205, allocations: 135.5 kB / 0.6225 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006668/2.206, allocations: 282.7 kB / 0.6228 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01711/2.223, allocations: 6.976 MB / 0.6296 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/2.223, allocations: 0 / 0.6296 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/2.223, allocations: 0 / 0.6296 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.332e-05/2.223, allocations: 0 / 0.6296 GB, free: 15.96 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.004743/2.227, allocations: 1.508 MB / 0.6311 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/2.228, allocations: 8.031 kB / 0.6311 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/2.228, allocations: 76.47 kB / 0.6312 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/2.228, allocations: 289.6 kB / 0.6314 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/2.228, allocations: 203.2 kB / 0.6316 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/2.229, allocations: 46.03 kB / 0.6317 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/2.23, allocations: 0.7925 MB / 0.6324 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/2.23, allocations: 0.8438 kB / 0.6324 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/2.23, allocations: 24.69 kB / 0.6325 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.191e-05/2.23, allocations: 39.95 kB / 0.6325 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/2.231, allocations: 0.5866 MB / 0.6331 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.0749/2.306, allocations: 21.78 MB / 0.6543 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/2.307, allocations: 474.1 kB / 0.6548 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/2.308, allocations: 286.7 kB / 0.6551 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07865/2.387, allocations: 21.16 MB / 0.6757 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/2.387, allocations: 43 kB / 0.6758 GB, free: 464 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 2.655e-06/2.387, allocations: 0.75 kB / 0.6758 GB, free: 464 kB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01818/2.405, allocations: 3.181 MB / 0.6789 GB, free: 13.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/2.405, allocations: 59.27 kB / 0.6789 GB, free: 13.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/2.405, allocations: 249 kB / 0.6792 GB, free: 12.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/2.405, allocations: 29.7 kB / 0.6792 GB, free: 12.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/2.405, allocations: 241.7 kB / 0.6794 GB, free: 12.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/2.406, allocations: 432 kB / 0.6798 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/2.406, allocations: 130.1 kB / 0.68 GB, free: 12.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001979/2.406, allocations: 367.3 kB / 0.6803 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006423/2.407, allocations: 285.6 kB / 0.6806 GB, free: 11.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/2.408, allocations: 398.9 kB / 0.681 GB, free: 11.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/2.409, allocations: 0.7264 MB / 0.6817 GB, free: 10.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/2.409, allocations: 1.75 kB / 0.6817 GB, free: 10.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004464/2.413, allocations: 1.241 MB / 0.6829 GB, free: 9.039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/2.414, allocations: 8 kB / 0.6829 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/2.414, allocations: 0 / 0.6829 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004488/2.418, allocations: 1.381 MB / 0.6843 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/2.418, allocations: 23.92 kB / 0.6843 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/2.421, allocations: 1.374 MB / 0.6856 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/2.421, allocations: 87.33 kB / 0.6857 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/2.421, allocations: 16 kB / 0.6857 GB, free: 6.129 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.0002796/2.421, allocations: 191.9 kB / 0.6859 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-05/2.421, allocations: 56.19 kB / 0.686 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004854/2.426, allocations: 3.877 MB / 0.6897 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002952/2.429, allocations: 1.259 MB / 0.691 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/2.429, allocations: 0 / 0.691 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/2.429, allocations: 3.984 kB / 0.691 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006912/2.436, allocations: 2.597 MB / 0.6935 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/2.436, allocations: 0.875 kB / 0.6935 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/2.436, allocations: 95.89 kB / 0.6936 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002428/2.439, allocations: 0.8658 MB / 0.6944 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/2.439, allocations: 16 kB / 0.6945 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/2.441, allocations: 1.507 MB / 0.6959 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/2.441, allocations: 5.203 kB / 0.6959 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004871/2.446, allocations: 1.469 MB / 0.6974 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/2.446, allocations: 71.31 kB / 0.6974 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/2.446, allocations: 35.78 kB / 0.6975 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/2.447, allocations: 37.41 kB / 0.6975 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/2.447, allocations: 56.83 kB / 0.6976 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/2.447, allocations: 27.98 kB / 0.6976 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004209/2.447, allocations: 327.2 kB / 0.6979 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.447, allocations: 0 / 0.6979 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002817/2.45, allocations: 1.076 MB / 0.699 GB, free: 8.34 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.004037/2.454, allocations: 1.205 MB / 0.7001 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002384/2.457, allocations: 1.078 MB / 0.7012 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/2.457, allocations: 0 / 0.7012 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/2.458, allocations: 476.6 kB / 0.7016 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/2.46, allocations: 402.1 kB / 0.702 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/2.463, allocations: 1.578 MB / 0.7036 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/2.463, allocations: 406.1 kB / 0.7039 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000252/2.464, allocations: 55.97 kB / 0.704 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.312e-05/2.464, allocations: 51.36 kB / 0.7041 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of SimCode: time 9.81e-07/2.464, allocations: 0 / 0.7041 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of Templates: time 0.07203/2.536, allocations: 48.02 MB / 0.751 GB, free: 3.875 MB / 0.6075 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: 9.087444232776761] Failed to read output from testmodel.py, exit status != 0: 2.9471936989575624 2.958504979 0.733287085 Calling exit ...