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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7894/0.7894, allocations: 152.6 MB / 169.6 MB, free: 15.13 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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.0004497/0.0004497, allocations: 21.5 kB / 245.6 MB, free: 15.57 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05143/0.05188, allocations: 33.06 MB / 278.7 MB, free: 0.6211 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger): time 1.539/1.59, allocations: 302.7 MB / 0.5678 GB, free: 1.039 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02746/1.618, allocations: 23.04 MB / 0.5903 GB, free: 9.918 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/1.618, allocations: 4 kB / 0.5903 GB, free: 9.914 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0004667/1.619, allocations: 203.8 kB / 0.5905 GB, free: 9.719 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004936/1.619, allocations: 325.8 kB / 0.5908 GB, free: 9.398 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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.01611/1.635, allocations: 7.314 MB / 0.5979 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/1.636, allocations: 0.9763 MB / 0.5989 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/1.637, allocations: 240.8 kB / 0.5991 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/1.637, allocations: 382.7 kB / 0.5995 GB, free: 496 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/1.637, allocations: 330.5 kB / 0.5998 GB, free: 164 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/1.637, allocations: 52 kB / 0.5999 GB, free: 112 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02357/1.661, allocations: 15.39 MB / 0.6149 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/1.661, allocations: 127.5 kB / 0.615 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004278/1.662, allocations: 362.2 kB / 0.6154 GB, free: 228 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/1.674, allocations: 6.937 MB / 0.6221 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/1.674, allocations: 4 kB / 0.6221 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/1.674, allocations: 0 / 0.6221 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.636e-06/1.674, allocations: 3.938 kB / 0.6221 GB, free: 9.262 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.003718/1.677, allocations: 1.597 MB / 0.6237 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/1.677, allocations: 8.031 kB / 0.6237 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/1.678, allocations: 76.42 kB / 0.6238 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/1.678, allocations: 338.8 kB / 0.6241 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/1.678, allocations: 126.1 kB / 0.6242 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-05/1.678, allocations: 44 kB / 0.6243 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/1.679, allocations: 0.7835 MB / 0.625 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.679, allocations: 3.938 kB / 0.625 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/1.679, allocations: 23.98 kB / 0.6251 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-05/1.679, allocations: 35.97 kB / 0.6251 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/1.681, allocations: 0.5748 MB / 0.6256 GB, free: 5.508 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.0752/1.756, allocations: 36.65 MB / 0.6614 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/1.757, allocations: 463.4 kB / 0.6619 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/1.758, allocations: 278.7 kB / 0.6621 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07552/1.833, allocations: 33.81 MB / 0.6952 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/1.833, allocations: 38.5 kB / 0.6952 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=126): time 2.144e-06/1.833, allocations: 0 / 0.6952 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=126): time 0.01699/1.85, allocations: 3.254 MB / 0.6984 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/1.85, allocations: 59.34 kB / 0.6984 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/1.851, allocations: 340.4 kB / 0.6988 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/1.851, allocations: 29.7 kB / 0.6988 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/1.851, allocations: 229.7 kB / 0.699 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/1.851, allocations: 428.1 kB / 0.6994 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/1.851, allocations: 130 kB / 0.6995 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.852, allocations: 378.8 kB / 0.6999 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005947/1.852, allocations: 273.6 kB / 0.7002 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/1.853, allocations: 393.2 kB / 0.7005 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/1.854, allocations: 0.7146 MB / 0.7012 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.854, allocations: 0 / 0.7012 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004169/1.858, allocations: 1.232 MB / 0.7024 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.858, allocations: 10.5 kB / 0.7024 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.858, allocations: 0 / 0.7024 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003753/1.862, allocations: 1.398 MB / 0.7038 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/1.862, allocations: 16 kB / 0.7038 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/1.864, allocations: 1.39 MB / 0.7052 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/1.865, allocations: 95.23 kB / 0.7053 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/1.865, allocations: 19.98 kB / 0.7053 GB, free: 12.71 MB / 0.5919 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.0002352/1.865, allocations: 178 kB / 0.7055 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/1.865, allocations: 59.58 kB / 0.7055 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/1.87, allocations: 3.834 MB / 0.7093 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002752/1.872, allocations: 1.236 MB / 0.7105 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.872, allocations: 3.938 kB / 0.7105 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/1.872, allocations: 3.984 kB / 0.7105 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006523/1.879, allocations: 2.836 MB / 0.7133 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.879, allocations: 0 / 0.7133 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/1.879, allocations: 95.84 kB / 0.7133 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/1.881, allocations: 0.8634 MB / 0.7142 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/1.882, allocations: 16 kB / 0.7142 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/1.884, allocations: 1.487 MB / 0.7157 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.884, allocations: 0 / 0.7157 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004562/1.888, allocations: 1.453 MB / 0.7171 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/1.888, allocations: 168.2 kB / 0.7172 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.543e-05/1.889, allocations: 35.84 kB / 0.7173 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/1.889, allocations: 27.92 kB / 0.7173 GB, free: 136 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/1.889, allocations: 52.92 kB / 0.7173 GB, free: 80 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/1.889, allocations: 23.98 kB / 0.7174 GB, free: 56 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.1529/2.042, allocations: 387 kB / 0.7177 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/2.042, allocations: 1.406 kB / 0.7177 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002417/2.044, allocations: 1.05 MB / 0.7188 GB, free: 220.3 MB / 0.5919 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.003128/2.048, allocations: 1.201 MB / 0.7199 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001739/2.049, allocations: 1.071 MB / 0.721 GB, free: 220 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/2.049, allocations: 0 / 0.721 GB, free: 220 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008599/2.05, allocations: 464.5 kB / 0.7214 GB, free: 220 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/2.052, allocations: 429.8 kB / 0.7218 GB, free: 220 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/2.054, allocations: 1.63 MB / 0.7234 GB, free: 219.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/2.054, allocations: 0.9989 MB / 0.7244 GB, free: 218.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/2.054, allocations: 49.36 kB / 0.7244 GB, free: 218.6 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/2.054, allocations: 5.281 kB / 0.7245 GB, free: 218.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.02619/2.08, allocations: 28.6 MB / 0.7524 GB, free: 203.9 MB / 0.5919 GB " [Timeout remaining time 658] 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.480003328062594] Failed to read output from testmodel.py, exit status != 0: 2.1889835379552096 2.196570592 0.521088189 Calling exit ...