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.8335/0.8335, allocations: 150.9 MB / 166.6 MB, free: 11.15 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002763, allocations: 11.98 kB / 204.7 MB, free: 6.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1608, allocations: 31.32 MB / 236 MB, free: 3.891 MB / 186.7 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.651/1.812, allocations: 292.9 MB / 0.5165 GB, free: 9.117 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04093/1.852, allocations: 35.38 MB / 0.551 GB, free: 5.867 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/1.853, allocations: 8 kB / 0.551 GB, free: 5.859 MB / 442.7 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.0005685/1.853, allocations: 136.8 kB / 0.5512 GB, free: 5.727 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/1.854, allocations: 150.8 kB / 0.5513 GB, free: 5.578 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01954/1.873, allocations: 6.58 MB / 0.5577 GB, free: 15 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008948/1.874, allocations: 0.5986 MB / 0.5583 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/1.875, allocations: 252.9 kB / 0.5586 GB, free: 14.15 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/1.875, allocations: 230.9 kB / 0.5588 GB, free: 13.93 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/1.875, allocations: 234.8 kB / 0.559 GB, free: 13.7 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/1.875, allocations: 32 kB / 0.559 GB, free: 13.66 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02792/1.903, allocations: 15.76 MB / 0.5744 GB, free: 13.88 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/1.903, allocations: 91.56 kB / 0.5745 GB, free: 13.79 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003744/1.904, allocations: 262.6 kB / 0.5748 GB, free: 13.53 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01761/1.921, allocations: 8.125 MB / 0.5827 GB, free: 5.387 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.921, allocations: 4 kB / 0.5827 GB, free: 5.383 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.413e-06/1.921, allocations: 0 / 0.5827 GB, free: 5.383 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/1.921, allocations: 0 / 0.5827 GB, free: 5.383 MB / 474.7 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.00355/1.925, allocations: 1.6 MB / 0.5843 GB, free: 3.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/1.925, allocations: 8.031 kB / 0.5843 GB, free: 3.723 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.542e-05/1.925, allocations: 63.19 kB / 0.5843 GB, free: 3.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/1.925, allocations: 295.2 kB / 0.5846 GB, free: 3.332 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/1.925, allocations: 40.94 kB / 0.5847 GB, free: 3.293 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/1.925, allocations: 43.94 kB / 0.5847 GB, free: 3.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/1.926, allocations: 0.5884 MB / 0.5853 GB, free: 2.613 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/1.926, allocations: 4 kB / 0.5853 GB, free: 2.609 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/1.926, allocations: 16 kB / 0.5853 GB, free: 2.594 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/1.926, allocations: 23.98 kB / 0.5853 GB, free: 2.57 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/1.927, allocations: 359.9 kB / 0.5857 GB, free: 2.219 MB / 474.7 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.002461/1.929, allocations: 3.515 MB / 0.5891 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/1.93, allocations: 285.3 kB / 0.5894 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/1.93, allocations: 193.9 kB / 0.5895 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1655/2.096, allocations: 80.47 MB / 0.6681 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/2.096, allocations: 38.5 kB / 0.6682 GB, free: 4.422 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/2.096, allocations: 0 / 0.6682 GB, free: 4.422 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70): time 0.002929/2.099, allocations: 1.23 MB / 0.6694 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/2.099, allocations: 85.09 kB / 0.6694 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/2.099, allocations: 290.9 kB / 0.6697 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/2.099, allocations: 25.7 kB / 0.6697 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/2.099, allocations: 212.9 kB / 0.67 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/2.099, allocations: 228.5 kB / 0.6702 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/2.099, allocations: 89.67 kB / 0.6703 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001366/2.1, allocations: 346.8 kB / 0.6706 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/2.1, allocations: 124.6 kB / 0.6707 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/2.1, allocations: 243.9 kB / 0.6709 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/2.101, allocations: 419.7 kB / 0.6713 GB, free: 0.9727 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/2.101, allocations: 0 / 0.6713 GB, free: 0.9727 MB / 0.5573 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001126/2.102, allocations: 0.6769 MB / 0.672 GB, free: 284 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/2.102, allocations: 8 kB / 0.672 GB, free: 276 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/2.102, allocations: 4 kB / 0.672 GB, free: 272 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/2.103, allocations: 0.7854 MB / 0.6728 GB, free: 15.47 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.151e-05/2.103, allocations: 4 kB / 0.6728 GB, free: 15.47 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/2.105, allocations: 2.128 MB / 0.6749 GB, free: 13.26 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/2.105, allocations: 51.38 kB / 0.6749 GB, free: 13.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/2.105, allocations: 8.188 kB / 0.6749 GB, free: 13.2 MB / 0.573 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.0002027/2.105, allocations: 191.1 kB / 0.6751 GB, free: 13.01 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/2.106, allocations: 39.44 kB / 0.6751 GB, free: 12.97 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/2.107, allocations: 1.171 MB / 0.6763 GB, free: 11.78 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001177/2.108, allocations: 0.877 MB / 0.6771 GB, free: 10.89 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/2.108, allocations: 4 kB / 0.6771 GB, free: 10.88 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/2.108, allocations: 3.984 kB / 0.6771 GB, free: 10.88 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/2.111, allocations: 1.994 MB / 0.6791 GB, free: 8.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/2.111, allocations: 7.938 kB / 0.6791 GB, free: 8.812 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/2.111, allocations: 63.92 kB / 0.6792 GB, free: 8.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/2.112, allocations: 0.8035 MB / 0.6799 GB, free: 7.938 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/2.112, allocations: 19.94 kB / 0.68 GB, free: 7.918 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/2.114, allocations: 2.2 MB / 0.6821 GB, free: 5.645 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/2.114, allocations: 4.031 kB / 0.6821 GB, free: 5.641 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/2.116, allocations: 1.956 MB / 0.684 GB, free: 3.617 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/2.116, allocations: 176.1 kB / 0.6842 GB, free: 3.426 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/2.116, allocations: 19.92 kB / 0.6842 GB, free: 3.406 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/2.116, allocations: 15.94 kB / 0.6842 GB, free: 3.391 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/2.116, allocations: 32.52 kB / 0.6843 GB, free: 3.359 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/2.116, allocations: 20 kB / 0.6843 GB, free: 3.34 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001702/2.117, allocations: 194 kB / 0.6845 GB, free: 3.148 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/2.117, allocations: 0 / 0.6845 GB, free: 3.148 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002755/2.119, allocations: 1.19 MB / 0.6856 GB, free: 1.957 MB / 0.573 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.004219/2.124, allocations: 1.672 MB / 0.6873 GB, free: 280 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.1576/2.281, allocations: 0.7555 MB / 0.688 GB, free: 221.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/2.281, allocations: 0.5625 kB / 0.688 GB, free: 221.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009037/2.282, allocations: 439.8 kB / 0.6884 GB, free: 221.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/2.283, allocations: 223.5 kB / 0.6886 GB, free: 221.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/2.286, allocations: 1.911 MB / 0.6905 GB, free: 220.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/2.286, allocations: 0.9426 MB / 0.6914 GB, free: 219.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001895/2.286, allocations: 41.78 kB / 0.6915 GB, free: 219.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/2.286, allocations: 37.09 kB / 0.6915 GB, free: 219.5 MB / 0.573 GB Notification: Performance of SimCode: time 6.81e-07/2.286, allocations: 3.844 kB / 0.6915 GB, free: 219.5 MB / 0.573 GB Notification: Performance of Templates: time 0.05041/2.337, allocations: 45.9 MB / 0.7363 GB, free: 197.6 MB / 0.573 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)