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.7735/0.7735, allocations: 152.6 MB / 169.6 MB, free: 14.93 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.0004581/0.0004581, allocations: 19.62 kB / 245.6 MB, free: 15.59 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05048/0.05094, allocations: 33.06 MB / 278.7 MB, free: 0.6094 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.TestStaticWaterWaterExchangerDTorWorEff): time 1.527/1.578, allocations: 302.4 MB / 0.5675 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02857/1.606, allocations: 23.84 MB / 0.5908 GB, free: 9.348 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/1.606, allocations: 4 kB / 0.5908 GB, free: 9.344 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.0005491/1.607, allocations: 271.9 kB / 0.5911 GB, free: 9.078 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/1.607, allocations: 282.1 kB / 0.5913 GB, free: 8.801 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.01629/1.624, allocations: 7.684 MB / 0.5988 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009421/1.625, allocations: 0.8138 MB / 0.5996 GB, free: 300 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/1.625, allocations: 196.1 kB / 0.5998 GB, free: 104 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/1.625, allocations: 318.9 kB / 0.6001 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/1.626, allocations: 254.7 kB / 0.6004 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.221e-05/1.626, allocations: 40 kB / 0.6004 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02614/1.652, allocations: 17.16 MB / 0.6172 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/1.652, allocations: 107.5 kB / 0.6173 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003694/1.652, allocations: 302.4 kB / 0.6176 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/1.663, allocations: 7.202 MB / 0.6246 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.663, allocations: 0 / 0.6246 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/1.663, allocations: 0 / 0.6246 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.332e-05/1.663, allocations: 0 / 0.6246 GB, free: 6.699 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.003284/1.667, allocations: 1.481 MB / 0.626 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/1.667, allocations: 11.89 kB / 0.626 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/1.667, allocations: 64.52 kB / 0.6261 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/1.667, allocations: 312.8 kB / 0.6264 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/1.667, allocations: 63.25 kB / 0.6265 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/1.667, allocations: 40.12 kB / 0.6265 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009181/1.668, allocations: 0.6367 MB / 0.6271 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.668, allocations: 0 / 0.6271 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/1.668, allocations: 16 kB / 0.6271 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/1.668, allocations: 31.97 kB / 0.6272 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/1.669, allocations: 439 kB / 0.6276 GB, free: 3.484 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.03891/1.708, allocations: 19.55 MB / 0.6467 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/1.709, allocations: 275.8 kB / 0.6469 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/1.709, allocations: 214.6 kB / 0.6471 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09373/1.803, allocations: 41.55 MB / 0.6877 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/1.803, allocations: 34.56 kB / 0.6878 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=103): time 2.064e-06/1.803, allocations: 0 / 0.6878 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103): time 0.004515/1.807, allocations: 1.413 MB / 0.6891 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/1.807, allocations: 55.41 kB / 0.6892 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/1.808, allocations: 349.5 kB / 0.6895 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/1.808, allocations: 33.64 kB / 0.6896 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/1.808, allocations: 193.6 kB / 0.6897 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/1.808, allocations: 356.8 kB / 0.6901 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/1.808, allocations: 97.67 kB / 0.6902 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.808, allocations: 366.8 kB / 0.6905 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/1.809, allocations: 188.9 kB / 0.6907 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/1.809, allocations: 302.3 kB / 0.691 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008315/1.81, allocations: 0.5433 MB / 0.6915 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.81, allocations: 0 / 0.6915 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001303/1.811, allocations: 0.7348 MB / 0.6922 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.811, allocations: 12.03 kB / 0.6922 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/1.811, allocations: 0 / 0.6922 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/1.813, allocations: 0.7146 MB / 0.6929 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.476e-05/1.813, allocations: 15.92 kB / 0.693 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/1.815, allocations: 1.056 MB / 0.694 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/1.815, allocations: 75.36 kB / 0.6941 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/1.815, allocations: 12 kB / 0.6941 GB, free: 9.188 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.0002044/1.816, allocations: 170.3 kB / 0.6942 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/1.816, allocations: 51.62 kB / 0.6943 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/1.818, allocations: 1.982 MB / 0.6962 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001496/1.82, allocations: 0.9754 MB / 0.6972 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/1.82, allocations: 0 / 0.6972 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/1.82, allocations: 3.984 kB / 0.6972 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/1.823, allocations: 2.28 MB / 0.6994 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.823, allocations: 0 / 0.6994 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/1.823, allocations: 99.83 kB / 0.6995 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007552/1.824, allocations: 492 kB / 0.7 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/1.824, allocations: 16 kB / 0.7 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/1.825, allocations: 1.116 MB / 0.7011 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.825, allocations: 4 kB / 0.7011 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/1.827, allocations: 1.094 MB / 0.7021 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/1.827, allocations: 196.3 kB / 0.7023 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/1.827, allocations: 23.89 kB / 0.7024 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/1.828, allocations: 19.98 kB / 0.7024 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/1.828, allocations: 56.52 kB / 0.7024 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/1.828, allocations: 20 kB / 0.7024 GB, free: 396 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003449/1.828, allocations: 319.1 kB / 0.7028 GB, free: 76 kB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/1.828, allocations: 0 / 0.7028 GB, free: 76 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002325/1.83, allocations: 0.9825 MB / 0.7037 GB, free: 15.09 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.003769/1.834, allocations: 1.157 MB / 0.7048 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001787/1.836, allocations: 0.9378 MB / 0.7058 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.836, allocations: 4.188 kB / 0.7058 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.837, allocations: 430.8 kB / 0.7062 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/1.839, allocations: 388.4 kB / 0.7065 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/1.841, allocations: 1.478 MB / 0.708 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/1.841, allocations: 0.9671 MB / 0.7089 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/1.841, allocations: 43.44 kB / 0.709 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/1.841, allocations: 0 / 0.709 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of Templates: time 0.1752/2.017, allocations: 26.81 MB / 0.7352 GB, free: 212.2 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.105335665866733] Failed to read output from testmodel.py, exit status != 0: 2.120529701001942 2.128200265 0.462930152 Calling exit ...