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 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.8921/0.8921, allocations: 152.6 MB / 170.1 MB, free: 14.43 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.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.0005156/0.0005156, allocations: 18.45 kB / 246.8 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05951/0.06003, allocations: 33.07 MB / 279.8 MB, free: 15.81 MB / 238.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.TestStaticWaterWaterExchangerDTorWorEff): time 1.7/1.76, allocations: 302.3 MB / 0.5685 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03494/1.795, allocations: 23.88 MB / 0.5918 GB, free: 8.859 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000359/1.796, allocations: 8 kB / 0.5918 GB, free: 8.852 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0007295/1.796, allocations: 260.4 kB / 0.5921 GB, free: 8.598 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006996/1.797, allocations: 286.1 kB / 0.5924 GB, free: 8.316 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.02199/1.819, allocations: 7.7 MB / 0.5999 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/1.82, allocations: 0.8061 MB / 0.6007 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/1.821, allocations: 200 kB / 0.6008 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005792/1.821, allocations: 318.8 kB / 0.6012 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/1.822, allocations: 254.7 kB / 0.6014 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.521e-05/1.822, allocations: 40 kB / 0.6014 GB, free: 15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03049/1.852, allocations: 17.16 MB / 0.6182 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/1.852, allocations: 107.5 kB / 0.6183 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004119/1.853, allocations: 298.5 kB / 0.6186 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01633/1.869, allocations: 7.21 MB / 0.6256 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.869, allocations: 0 / 0.6256 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/1.869, allocations: 0 / 0.6256 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.01e-05/1.869, allocations: 0 / 0.6256 GB, free: 6.195 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.004461/1.874, allocations: 1.477 MB / 0.6271 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.874, allocations: 15.89 kB / 0.6271 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/1.874, allocations: 64.52 kB / 0.6271 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/1.874, allocations: 312.8 kB / 0.6274 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/1.874, allocations: 63.25 kB / 0.6275 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.671e-05/1.874, allocations: 40.12 kB / 0.6275 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/1.875, allocations: 0.6406 MB / 0.6282 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/1.875, allocations: 0 / 0.6282 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/1.875, allocations: 16 kB / 0.6282 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/1.875, allocations: 31.97 kB / 0.6282 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/1.876, allocations: 439 kB / 0.6286 GB, free: 2.977 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.04087/1.917, allocations: 19.55 MB / 0.6477 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/1.918, allocations: 275.8 kB / 0.648 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/1.918, allocations: 202.7 kB / 0.6482 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09654/2.015, allocations: 41.55 MB / 0.6888 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/2.015, allocations: 34.56 kB / 0.6888 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=103): time 2.084e-06/2.015, allocations: 3.938 kB / 0.6888 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103): time 0.004729/2.019, allocations: 1.417 MB / 0.6902 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/2.019, allocations: 55.41 kB / 0.6902 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/2.02, allocations: 353.5 kB / 0.6906 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/2.02, allocations: 25.7 kB / 0.6906 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/2.02, allocations: 197.6 kB / 0.6908 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/2.02, allocations: 348.8 kB / 0.6911 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/2.021, allocations: 101.7 kB / 0.6912 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001857/2.021, allocations: 362.8 kB / 0.6915 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/2.021, allocations: 196.9 kB / 0.6917 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/2.022, allocations: 294.4 kB / 0.692 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008913/2.022, allocations: 0.5472 MB / 0.6926 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/2.022, allocations: 0 / 0.6926 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001429/2.024, allocations: 0.731 MB / 0.6933 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/2.024, allocations: 11.98 kB / 0.6933 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/2.024, allocations: 4 kB / 0.6933 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/2.026, allocations: 0.7107 MB / 0.694 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/2.026, allocations: 15.94 kB / 0.694 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/2.028, allocations: 1.05 MB / 0.695 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/2.028, allocations: 79.34 kB / 0.6951 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/2.028, allocations: 16 kB / 0.6951 GB, free: 8.688 MB / 0.5762 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.0002144/2.028, allocations: 170.4 kB / 0.6953 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/2.029, allocations: 51.62 kB / 0.6953 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/2.031, allocations: 1.985 MB / 0.6973 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001592/2.033, allocations: 0.9715 MB / 0.6982 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/2.033, allocations: 0 / 0.6982 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/2.033, allocations: 3.984 kB / 0.6982 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/2.036, allocations: 2.28 MB / 0.7004 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/2.036, allocations: 0 / 0.7004 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/2.037, allocations: 95.84 kB / 0.7005 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009042/2.037, allocations: 492 kB / 0.701 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/2.038, allocations: 23.92 kB / 0.701 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/2.039, allocations: 1.109 MB / 0.7021 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/2.039, allocations: 0 / 0.7021 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/2.041, allocations: 1.106 MB / 0.7032 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/2.041, allocations: 196.3 kB / 0.7034 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/2.041, allocations: 23.97 kB / 0.7034 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/2.042, allocations: 23.98 kB / 0.7034 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/2.042, allocations: 44.59 kB / 0.7035 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/2.042, allocations: 23.98 kB / 0.7035 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004268/2.042, allocations: 319.1 kB / 0.7038 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/2.042, allocations: 0 / 0.7038 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002711/2.045, allocations: 0.9825 MB / 0.7047 GB, free: 14.59 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 (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.00365/2.048, allocations: 1.161 MB / 0.7059 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001988/2.05, allocations: 0.9415 MB / 0.7068 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/2.05, allocations: 4.125 kB / 0.7068 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/2.052, allocations: 426.8 kB / 0.7072 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/2.053, allocations: 380.5 kB / 0.7076 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/2.056, allocations: 1.429 MB / 0.709 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/2.056, allocations: 0.9671 MB / 0.7099 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002264/2.056, allocations: 68.23 kB / 0.71 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.606e-05/2.056, allocations: 43.44 kB / 0.71 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/2.056, allocations: 0 / 0.71 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of Templates: time 0.2244/2.281, allocations: 45.17 MB / 0.7541 GB, free: 200.5 MB / 0.5919 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: 9.134108475409448]