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) 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=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8721/0.8721, allocations: 150.9 MB / 166.7 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003659, allocations: 15.97 kB / 204.8 MB, free: 10.01 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1486, allocations: 31.33 MB / 236.1 MB, free: 5.422 MB / 190.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.525/1.673, allocations: 294.9 MB / 0.5186 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02728/1.701, allocations: 24.26 MB / 0.5423 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/1.701, allocations: 8.594 kB / 0.5423 GB, free: 4.277 MB / 430.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.0005252/1.702, allocations: 186.8 kB / 0.5424 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/1.702, allocations: 204 kB / 0.5426 GB, free: 3.898 MB / 430.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.01671/1.719, allocations: 6.649 MB / 0.5491 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009379/1.72, allocations: 0.7983 MB / 0.5499 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/1.72, allocations: 245 kB / 0.5501 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003591/1.72, allocations: 329.3 kB / 0.5505 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/1.721, allocations: 254.7 kB / 0.5507 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/1.721, allocations: 40 kB / 0.5507 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02377/1.745, allocations: 17.01 MB / 0.5673 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/1.745, allocations: 95.58 kB / 0.5674 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004321/1.745, allocations: 298.5 kB / 0.5677 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007767/1.753, allocations: 4.713 MB / 0.5723 GB, free: 5.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.753, allocations: 6.781 kB / 0.5723 GB, free: 5.477 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/1.753, allocations: 0 / 0.5723 GB, free: 5.477 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/1.753, allocations: 0 / 0.5723 GB, free: 5.477 MB / 462.1 MB 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.003895/1.757, allocations: 1.437 MB / 0.5737 GB, free: 3.992 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/1.757, allocations: 12.03 kB / 0.5737 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/1.757, allocations: 64.09 kB / 0.5738 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/1.757, allocations: 299.4 kB / 0.5741 GB, free: 3.586 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/1.757, allocations: 68.72 kB / 0.5742 GB, free: 3.516 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/1.758, allocations: 40.12 kB / 0.5742 GB, free: 3.477 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008281/1.758, allocations: 0.6251 MB / 0.5748 GB, free: 2.812 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/1.758, allocations: 5.641 kB / 0.5748 GB, free: 2.809 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/1.758, allocations: 20 kB / 0.5748 GB, free: 2.789 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/1.758, allocations: 31.97 kB / 0.5749 GB, free: 2.758 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006614/1.759, allocations: 442.9 kB / 0.5753 GB, free: 2.328 MB / 462.1 MB 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.03593/1.795, allocations: 19.43 MB / 0.5943 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/1.796, allocations: 347.7 kB / 0.5946 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/1.796, allocations: 278.7 kB / 0.5949 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08037/1.876, allocations: 41.27 MB / 0.6352 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/1.876, allocations: 34.56 kB / 0.6352 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.324e-06/1.877, allocations: 0 / 0.6352 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.00426/1.881, allocations: 1.448 MB / 0.6366 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/1.881, allocations: 55.41 kB / 0.6367 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/1.881, allocations: 341.5 kB / 0.637 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/1.881, allocations: 33.7 kB / 0.637 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/1.881, allocations: 193.3 kB / 0.6372 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/1.882, allocations: 334.8 kB / 0.6375 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/1.882, allocations: 101.6 kB / 0.6376 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.882, allocations: 366.8 kB / 0.638 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/1.882, allocations: 196.9 kB / 0.6382 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/1.883, allocations: 294.5 kB / 0.6384 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00076/1.883, allocations: 0.5472 MB / 0.639 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.883, allocations: 0 / 0.639 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00122/1.885, allocations: 0.7697 MB / 0.6397 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.885, allocations: 4 kB / 0.6397 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/1.885, allocations: 4 kB / 0.6397 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/1.887, allocations: 0.7123 MB / 0.6404 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.336e-05/1.887, allocations: 11.98 kB / 0.6404 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/1.888, allocations: 1.052 MB / 0.6415 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/1.888, allocations: 71.12 kB / 0.6415 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/1.889, allocations: 20 kB / 0.6416 GB, free: 8.27 MB / 0.5294 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.0002015/1.889, allocations: 170.7 kB / 0.6417 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/1.889, allocations: 56.14 kB / 0.6418 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/1.891, allocations: 2.059 MB / 0.6438 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001351/1.892, allocations: 1.014 MB / 0.6448 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.892, allocations: 3.938 kB / 0.6448 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.892, allocations: 3.984 kB / 0.6448 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/1.895, allocations: 2.338 MB / 0.6471 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.895, allocations: 7.938 kB / 0.6471 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/1.896, allocations: 95.89 kB / 0.6472 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006819/1.896, allocations: 494.5 kB / 0.6476 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/1.896, allocations: 16 kB / 0.6476 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/1.898, allocations: 1.116 MB / 0.6487 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.898, allocations: 0 / 0.6487 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/1.899, allocations: 1.129 MB / 0.6498 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/1.899, allocations: 191.9 kB / 0.65 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/1.899, allocations: 27.88 kB / 0.65 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/1.9, allocations: 23.83 kB / 0.6501 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/1.9, allocations: 56.52 kB / 0.6501 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/1.9, allocations: 20 kB / 0.6501 GB, free: 15.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003009/1.9, allocations: 323.1 kB / 0.6505 GB, free: 14.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/1.9, allocations: 0 / 0.6505 GB, free: 14.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00214/1.902, allocations: 0.9682 MB / 0.6514 GB, free: 13.96 MB / 0.545 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.003286/1.906, allocations: 1.152 MB / 0.6525 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002236/1.908, allocations: 1.024 MB / 0.6535 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.908, allocations: 0 / 0.6535 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009777/1.909, allocations: 0.4954 MB / 0.654 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/1.911, allocations: 401.8 kB / 0.6544 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/1.912, allocations: 1.749 MB / 0.6561 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/1.913, allocations: 0.9671 MB / 0.657 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/1.913, allocations: 43.44 kB / 0.6571 GB, free: 8.055 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/1.913, allocations: 0 / 0.6571 GB, free: 8.055 MB / 0.545 GB Notification: Performance of Templates: time 0.03128/1.944, allocations: 26.77 MB / 0.6832 GB, free: 13.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.makefile (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)