Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.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.Book.SimpleExamples.Volume.TestSteamDryer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7983/0.7983, allocations: 150.9 MB / 166 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002859, allocations: 11.98 kB / 204 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 31.32 MB / 235.4 MB, free: 5.438 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.Book.SimpleExamples.Volume.TestSteamDryer): time 1.523/1.668, allocations: 293.5 MB / 0.5165 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03951/1.707, allocations: 35.38 MB / 0.5511 GB, free: 9.676 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/1.708, allocations: 7.938 kB / 0.5511 GB, free: 9.668 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/SteamDryer.mo:17:3-19:17:writable] Warning: Connector Cev 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/Junctions/SteamDryer.mo:20:3-21:51:writable] Warning: Connector Csv 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/Junctions/SteamDryer.mo:28:3-29:53:writable] Warning: Connector Csl 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/SourcePQ.mo:29:3-30: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/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 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/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 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/Sink.mo:17:3-19:16: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/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 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/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 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/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 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/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 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/Sink.mo:17:3-19:16: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.0005311/1.708, allocations: 137.2 kB / 0.5512 GB, free: 9.535 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004391/1.709, allocations: 162.7 kB / 0.5513 GB, free: 9.375 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01813/1.727, allocations: 6.569 MB / 0.5578 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008531/1.728, allocations: 0.5869 MB / 0.5583 GB, free: 2.211 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/1.728, allocations: 261.2 kB / 0.5586 GB, free: 1.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/1.729, allocations: 222.9 kB / 0.5588 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/1.729, allocations: 234.8 kB / 0.559 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/1.729, allocations: 28 kB / 0.559 GB, free: 1.492 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02569/1.755, allocations: 15.77 MB / 0.5745 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/1.755, allocations: 83.58 kB / 0.5745 GB, free: 1.617 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003178/1.755, allocations: 262.6 kB / 0.5748 GB, free: 1.359 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01653/1.772, allocations: 8.133 MB / 0.5827 GB, free: 9.207 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/1.772, allocations: 4 kB / 0.5827 GB, free: 9.203 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.242e-06/1.772, allocations: 0 / 0.5827 GB, free: 9.203 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/1.772, allocations: 0 / 0.5827 GB, free: 9.203 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.004593/1.776, allocations: 1.599 MB / 0.5843 GB, free: 7.551 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/1.776, allocations: 8.031 kB / 0.5843 GB, free: 7.543 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/1.776, allocations: 71.12 kB / 0.5844 GB, free: 7.473 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/1.777, allocations: 295.2 kB / 0.5846 GB, free: 7.145 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/1.777, allocations: 37 kB / 0.5847 GB, free: 7.109 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/1.777, allocations: 44 kB / 0.5847 GB, free: 7.066 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008631/1.778, allocations: 0.5845 MB / 0.5853 GB, free: 6.434 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/1.778, allocations: 7.938 kB / 0.5853 GB, free: 6.426 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/1.778, allocations: 16 kB / 0.5853 GB, free: 6.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/1.778, allocations: 19.98 kB / 0.5853 GB, free: 6.391 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/1.778, allocations: 356 kB / 0.5857 GB, free: 6.043 MB / 478.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.002832/1.781, allocations: 3.513 MB / 0.5891 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/1.782, allocations: 283.2 kB / 0.5894 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/1.782, allocations: 185.9 kB / 0.5896 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.154/1.936, allocations: 80.48 MB / 0.6681 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/1.936, allocations: 38.56 kB / 0.6682 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.174e-06/1.936, allocations: 3.938 kB / 0.6682 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002909/1.939, allocations: 1.23 MB / 0.6694 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/1.939, allocations: 81.11 kB / 0.6695 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/1.94, allocations: 286.9 kB / 0.6697 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/1.94, allocations: 25.7 kB / 0.6698 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/1.94, allocations: 216.9 kB / 0.67 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/1.94, allocations: 228.5 kB / 0.6702 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/1.94, allocations: 85.67 kB / 0.6703 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.94, allocations: 350.8 kB / 0.6706 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/1.94, allocations: 128.6 kB / 0.6707 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/1.941, allocations: 243.8 kB / 0.671 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/1.941, allocations: 411.8 kB / 0.6713 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.941, allocations: 3.938 kB / 0.6714 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001139/1.942, allocations: 0.6808 MB / 0.672 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.942, allocations: 4 kB / 0.672 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/1.942, allocations: 7.984 kB / 0.672 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/1.944, allocations: 0.7815 MB / 0.6728 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.165e-05/1.944, allocations: 11.94 kB / 0.6728 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/1.945, allocations: 2.116 MB / 0.6749 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/1.946, allocations: 55.56 kB / 0.6749 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/1.946, allocations: 19.98 kB / 0.6749 GB, free: 1.035 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (sink.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP.C.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,sourceQ.C.b,steamDryer.Csl.b,steamDryer.Csv.b,steamDryer.Cev.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.946, allocations: 173.6 kB / 0.6751 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/1.946, allocations: 39.44 kB / 0.6751 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/1.948, allocations: 1.184 MB / 0.6763 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001224/1.949, allocations: 0.8731 MB / 0.6772 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/1.949, allocations: 4 kB / 0.6772 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/1.949, allocations: 7.922 kB / 0.6772 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/1.951, allocations: 1.994 MB / 0.6791 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/1.951, allocations: 0 / 0.6791 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/1.952, allocations: 63.92 kB / 0.6792 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/1.953, allocations: 0.8079 MB / 0.68 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/1.953, allocations: 15.94 kB / 0.68 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/1.954, allocations: 2.198 MB / 0.6821 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.954, allocations: 3.938 kB / 0.6821 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/1.956, allocations: 1.022 MB / 0.6831 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/1.956, allocations: 172.2 kB / 0.6833 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/1.956, allocations: 12 kB / 0.6833 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/1.956, allocations: 15.94 kB / 0.6833 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/1.956, allocations: 40.5 kB / 0.6834 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/1.956, allocations: 16 kB / 0.6834 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001757/1.957, allocations: 201.9 kB / 0.6836 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.957, allocations: 0 / 0.6836 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002853/1.959, allocations: 1.159 MB / 0.6847 GB, free: 6.805 MB / 0.5762 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004364/1.964, allocations: 1.665 MB / 0.6863 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001365/1.965, allocations: 0.7649 MB / 0.6871 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.965, allocations: 448 / 0.6871 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007697/1.966, allocations: 443.2 kB / 0.6875 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/1.967, allocations: 223 kB / 0.6877 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/1.969, allocations: 1.404 MB / 0.6891 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/1.969, allocations: 0.9125 MB / 0.69 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001653/1.97, allocations: 51.25 kB / 0.69 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/1.97, allocations: 31.44 kB / 0.69 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/1.97, allocations: 0 / 0.69 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.1938/2.163, allocations: 45.41 MB / 0.7344 GB, free: 204.9 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe 2>&1)