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.8403/0.8403, allocations: 120.4 MB / 140.1 MB, free: 40 kB / 126.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.0005527/0.0005527, allocations: 15.97 kB / 217.7 MB, free: 12.97 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05694/0.05749, allocations: 33.37 MB / 251.1 MB, free: 11.55 MB / 238.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.746/1.803, allocations: 255.1 MB / 0.4944 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03191/1.835, allocations: 21.36 MB / 0.5152 GB, free: 8.629 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/1.835, allocations: 7.938 kB / 0.5152 GB, free: 8.621 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.0005921/1.836, allocations: 217 kB / 0.5154 GB, free: 8.414 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/1.836, allocations: 280.3 kB / 0.5157 GB, free: 8.141 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.0193/1.856, allocations: 7.62 MB / 0.5231 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/1.857, allocations: 0.8216 MB / 0.5239 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/1.857, allocations: 197.2 kB / 0.5241 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004664/1.858, allocations: 338.7 kB / 0.5244 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/1.858, allocations: 230.7 kB / 0.5247 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.304e-05/1.858, allocations: 40 kB / 0.5247 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02794/1.886, allocations: 16.06 MB / 0.5404 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/1.886, allocations: 103.6 kB / 0.5405 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003547/1.887, allocations: 238.8 kB / 0.5407 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01361/1.9, allocations: 7.225 MB / 0.5478 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.9, allocations: 4.5 kB / 0.5478 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/1.9, allocations: 0.6562 kB / 0.5478 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.417e-05/1.9, allocations: 3.938 kB / 0.5478 GB, free: 7.281 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.00428/1.904, allocations: 1.409 MB / 0.5492 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.904, allocations: 8.031 kB / 0.5492 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/1.905, allocations: 64.52 kB / 0.5492 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/1.905, allocations: 247.2 kB / 0.5495 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/1.905, allocations: 118.7 kB / 0.5496 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/1.905, allocations: 40.12 kB / 0.5496 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/1.906, allocations: 0.6407 MB / 0.5502 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/1.906, allocations: 7.938 kB / 0.5502 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/1.906, allocations: 16 kB / 0.5503 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/1.906, allocations: 35.91 kB / 0.5503 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007886/1.907, allocations: 443 kB / 0.5507 GB, free: 4.156 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.03964/1.947, allocations: 11.8 MB / 0.5622 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/1.947, allocations: 280.5 kB / 0.5625 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/1.948, allocations: 206.8 kB / 0.5627 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09633/2.044, allocations: 25.86 MB / 0.588 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/2.044, allocations: 42.5 kB / 0.588 GB, free: 13.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=103): time 4.538e-06/2.044, allocations: 3.984 kB / 0.588 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.004908/2.049, allocations: 1.332 MB / 0.5893 GB, free: 12.51 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/2.049, allocations: 55.41 kB / 0.5894 GB, free: 12.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/2.049, allocations: 226.5 kB / 0.5896 GB, free: 12.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/2.049, allocations: 29.7 kB / 0.5896 GB, free: 12.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/2.049, allocations: 217.4 kB / 0.5898 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/2.05, allocations: 344.8 kB / 0.5901 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/2.05, allocations: 105.6 kB / 0.5902 GB, free: 11.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001926/2.05, allocations: 354.7 kB / 0.5906 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/2.051, allocations: 192.9 kB / 0.5908 GB, free: 10.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/2.051, allocations: 299 kB / 0.591 GB, free: 10.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/2.052, allocations: 0.5511 MB / 0.5916 GB, free: 10.06 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/2.052, allocations: 4 kB / 0.5916 GB, free: 10.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001442/2.053, allocations: 0.7268 MB / 0.5923 GB, free: 9.316 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/2.053, allocations: 11.98 kB / 0.5923 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/2.053, allocations: 0 / 0.5923 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/2.056, allocations: 0.7002 MB / 0.593 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/2.056, allocations: 19.88 kB / 0.593 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/2.058, allocations: 1.047 MB / 0.594 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/2.058, allocations: 59.56 kB / 0.5941 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/2.058, allocations: 12 kB / 0.5941 GB, free: 7.445 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.0002308/2.058, allocations: 178.5 kB / 0.5943 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/2.058, allocations: 43.61 kB / 0.5943 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/2.061, allocations: 2.031 MB / 0.5963 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001655/2.063, allocations: 0.987 MB / 0.5973 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/2.063, allocations: 0 / 0.5973 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/2.063, allocations: 3.984 kB / 0.5973 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/2.066, allocations: 2.076 MB / 0.5993 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-06/2.066, allocations: 0 / 0.5993 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/2.066, allocations: 87.91 kB / 0.5994 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008341/2.067, allocations: 481.1 kB / 0.5998 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/2.067, allocations: 12 kB / 0.5998 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/2.069, allocations: 1.133 MB / 0.6009 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/2.069, allocations: 7.922 kB / 0.601 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/2.071, allocations: 1.11 MB / 0.602 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/2.071, allocations: 119.1 kB / 0.6022 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/2.071, allocations: 19.95 kB / 0.6022 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/2.072, allocations: 15.98 kB / 0.6022 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/2.072, allocations: 56.55 kB / 0.6022 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/2.072, allocations: 16 kB / 0.6023 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002793/2.072, allocations: 239.1 kB / 0.6025 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/2.072, allocations: 4 kB / 0.6025 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002653/2.075, allocations: 0.998 MB / 0.6035 GB, free: 13.67 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 (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.004335/2.079, allocations: 1.163 MB / 0.6046 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002038/2.081, allocations: 0.9493 MB / 0.6055 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/2.081, allocations: 0 / 0.6055 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/2.082, allocations: 443.2 kB / 0.606 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/2.084, allocations: 366.8 kB / 0.6063 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/2.087, allocations: 1.409 MB / 0.6077 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/2.087, allocations: 382.2 kB / 0.608 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000222/2.088, allocations: 47.27 kB / 0.6081 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/2.088, allocations: 40.5 kB / 0.6081 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/2.088, allocations: 0 / 0.6081 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of Templates: time 0.06951/2.157, allocations: 42.94 MB / 0.6501 GB, free: 14.18 MB / 0.6075 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 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.622933756909333] Failed to read output from testmodel.py, exit status != 0: 2.475419435999356 2.48449354 0.5820396240000001 Calling exit ...