Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.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.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.794/0.794, allocations: 150.9 MB / 166.7 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 15.98 kB / 204.7 MB, free: 6.176 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 31.33 MB / 236 MB, free: 3.902 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.SimpleExamples.TestSteamDryer2): time 1.679/1.827, allocations: 293 MB / 0.5166 GB, free: 9.051 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03878/1.866, allocations: 35.38 MB / 0.5511 GB, free: 5.809 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/1.866, allocations: 4 kB / 0.5511 GB, free: 5.805 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.0006041/1.867, allocations: 129.4 kB / 0.5512 GB, free: 5.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005044/1.868, allocations: 162.7 kB / 0.5514 GB, free: 5.52 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01863/1.886, allocations: 6.579 MB / 0.5578 GB, free: 14.94 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008372/1.887, allocations: 0.5908 MB / 0.5584 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/1.887, allocations: 254.5 kB / 0.5586 GB, free: 14.09 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/1.888, allocations: 234.9 kB / 0.5589 GB, free: 13.86 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/1.888, allocations: 226.9 kB / 0.5591 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/1.888, allocations: 36 kB / 0.5591 GB, free: 13.61 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02599/1.914, allocations: 15.77 MB / 0.5745 GB, free: 13.81 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/1.914, allocations: 83.58 kB / 0.5746 GB, free: 13.73 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/1.915, allocations: 262.6 kB / 0.5749 GB, free: 13.47 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01636/1.931, allocations: 8.136 MB / 0.5828 GB, free: 5.316 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/1.931, allocations: 4 kB / 0.5828 GB, free: 5.312 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.764e-06/1.931, allocations: 0 / 0.5828 GB, free: 5.312 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/1.931, allocations: 0 / 0.5828 GB, free: 5.312 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.004143/1.935, allocations: 1.587 MB / 0.5844 GB, free: 3.676 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/1.935, allocations: 12.03 kB / 0.5844 GB, free: 3.664 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/1.936, allocations: 63.19 kB / 0.5844 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/1.936, allocations: 298.6 kB / 0.5847 GB, free: 3.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/1.936, allocations: 33 kB / 0.5847 GB, free: 3.238 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/1.936, allocations: 47.98 kB / 0.5848 GB, free: 3.191 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008304/1.937, allocations: 0.5845 MB / 0.5854 GB, free: 2.555 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.937, allocations: 3.938 kB / 0.5854 GB, free: 2.551 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/1.937, allocations: 24 kB / 0.5854 GB, free: 2.527 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/1.937, allocations: 23.92 kB / 0.5854 GB, free: 2.504 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/1.937, allocations: 355.9 kB / 0.5857 GB, free: 2.16 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.002886/1.94, allocations: 3.515 MB / 0.5892 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005872/1.941, allocations: 275.2 kB / 0.5894 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/1.941, allocations: 193.9 kB / 0.5896 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1718/2.113, allocations: 80.47 MB / 0.6682 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/2.113, allocations: 34.56 kB / 0.6682 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=70): time 2.285e-06/2.113, allocations: 3.938 kB / 0.6683 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70): time 0.002995/2.116, allocations: 1.235 MB / 0.6695 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/2.116, allocations: 81.11 kB / 0.6695 GB, free: 2.969 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/2.117, allocations: 282.9 kB / 0.6698 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/2.117, allocations: 29.7 kB / 0.6698 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/2.117, allocations: 212.9 kB / 0.67 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/2.117, allocations: 232.5 kB / 0.6703 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/2.117, allocations: 89.67 kB / 0.6703 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001244/2.117, allocations: 350.8 kB / 0.6707 GB, free: 1.762 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/2.117, allocations: 128.6 kB / 0.6708 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/2.118, allocations: 239.8 kB / 0.671 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/2.118, allocations: 415.7 kB / 0.6714 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/2.118, allocations: 0 / 0.6714 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001145/2.119, allocations: 0.6808 MB / 0.6721 GB, free: 224 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/2.119, allocations: 4 kB / 0.6721 GB, free: 220 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/2.119, allocations: 4.375 kB / 0.6721 GB, free: 216 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/2.121, allocations: 0.7843 MB / 0.6729 GB, free: 15.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.328e-05/2.121, allocations: 11.94 kB / 0.6729 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/2.122, allocations: 2.124 MB / 0.6749 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/2.123, allocations: 55.36 kB / 0.675 GB, free: 13.15 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/2.123, allocations: 12 kB / 0.675 GB, free: 13.14 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.0001888/2.123, allocations: 174.2 kB / 0.6752 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/2.123, allocations: 43.44 kB / 0.6752 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/2.125, allocations: 1.175 MB / 0.6764 GB, free: 11.72 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001196/2.126, allocations: 0.8809 MB / 0.6772 GB, free: 10.82 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/2.126, allocations: 0 / 0.6772 GB, free: 10.82 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/2.126, allocations: 3.984 kB / 0.6772 GB, free: 10.82 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/2.128, allocations: 1.998 MB / 0.6792 GB, free: 8.754 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/2.128, allocations: 4 kB / 0.6792 GB, free: 8.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/2.129, allocations: 63.91 kB / 0.6792 GB, free: 8.688 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/2.13, allocations: 0.8121 MB / 0.68 GB, free: 7.867 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/2.13, allocations: 11.94 kB / 0.6801 GB, free: 7.855 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/2.131, allocations: 2.202 MB / 0.6822 GB, free: 5.578 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.131, allocations: 3.938 kB / 0.6822 GB, free: 5.574 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/2.134, allocations: 1.956 MB / 0.6841 GB, free: 3.555 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/2.134, allocations: 172.1 kB / 0.6843 GB, free: 3.367 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/2.134, allocations: 15.94 kB / 0.6843 GB, free: 3.352 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/2.134, allocations: 27.92 kB / 0.6843 GB, free: 3.324 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/2.134, allocations: 32.52 kB / 0.6844 GB, free: 3.293 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/2.134, allocations: 12 kB / 0.6844 GB, free: 3.281 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001722/2.134, allocations: 198 kB / 0.6846 GB, free: 3.086 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.31e-07/2.134, allocations: 0 / 0.6846 GB, free: 3.086 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002845/2.137, allocations: 1.194 MB / 0.6857 GB, free: 1.891 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.005068/2.142, allocations: 1.659 MB / 0.6873 GB, free: 224 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.1564/2.299, allocations: 0.7592 MB / 0.6881 GB, free: 220.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/2.299, allocations: 1.844 kB / 0.6881 GB, free: 220.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008261/2.3, allocations: 441.5 kB / 0.6885 GB, free: 220.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/2.301, allocations: 223.8 kB / 0.6887 GB, free: 220.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/2.303, allocations: 1.919 MB / 0.6906 GB, free: 220 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/2.303, allocations: 0.9431 MB / 0.6915 GB, free: 219.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002268/2.304, allocations: 41.25 kB / 0.6916 GB, free: 219.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/2.304, allocations: 31.28 kB / 0.6916 GB, free: 219.3 MB / 0.573 GB Notification: Performance of SimCode: time 1.142e-06/2.304, allocations: 4.375 kB / 0.6916 GB, free: 219.3 MB / 0.573 GB Notification: Performance of Templates: time 0.05079/2.354, allocations: 45.89 MB / 0.7364 GB, free: 197.5 MB / 0.573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.pipe 2>&1)