Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.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.TestSteamDryer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8535/0.8535, allocations: 150.8 MB / 166.6 MB, free: 11.11 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002961, allocations: 19.98 kB / 204.7 MB, free: 6.145 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 31.32 MB / 236 MB, free: 3.883 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.TestSteamDryer1): time 1.631/1.772, allocations: 293.1 MB / 0.5167 GB, free: 8.883 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04429/1.817, allocations: 39.56 MB / 0.5554 GB, free: 1.445 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/1.817, allocations: 4 kB / 0.5554 GB, free: 1.441 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/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/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/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/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.0004735/1.818, allocations: 149.3 kB / 0.5555 GB, free: 1.297 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/1.818, allocations: 170.6 kB / 0.5557 GB, free: 1.129 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02033/1.838, allocations: 7.502 MB / 0.563 GB, free: 9.629 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008878/1.839, allocations: 0.6492 MB / 0.5636 GB, free: 8.977 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/1.84, allocations: 261.1 kB / 0.5639 GB, free: 8.719 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/1.84, allocations: 254.8 kB / 0.5641 GB, free: 8.469 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/1.84, allocations: 238.8 kB / 0.5643 GB, free: 8.234 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/1.84, allocations: 35.98 kB / 0.5644 GB, free: 8.199 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02906/1.869, allocations: 18.62 MB / 0.5826 GB, free: 5.551 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/1.869, allocations: 91.56 kB / 0.5827 GB, free: 5.461 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003778/1.87, allocations: 282.5 kB / 0.5829 GB, free: 5.184 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01977/1.89, allocations: 9.072 MB / 0.5918 GB, free: 12.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-05/1.89, allocations: 8 kB / 0.5918 GB, free: 12.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.89, allocations: 3.938 kB / 0.5918 GB, free: 12.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/1.89, allocations: 0 / 0.5918 GB, free: 12.08 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004373/1.894, allocations: 1.748 MB / 0.5935 GB, free: 10.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/1.894, allocations: 8.031 kB / 0.5935 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/1.894, allocations: 63.19 kB / 0.5936 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/1.895, allocations: 310 kB / 0.5939 GB, free: 9.863 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/1.895, allocations: 33 kB / 0.5939 GB, free: 9.832 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/1.895, allocations: 44 kB / 0.5939 GB, free: 9.789 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008203/1.896, allocations: 0.633 MB / 0.5946 GB, free: 9.109 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/1.896, allocations: 4 kB / 0.5946 GB, free: 9.105 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/1.896, allocations: 20 kB / 0.5946 GB, free: 9.086 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/1.896, allocations: 27.91 kB / 0.5946 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005629/1.896, allocations: 383.9 kB / 0.595 GB, free: 8.684 MB / 490.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.02176/1.918, allocations: 11.94 MB / 0.6066 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007236/1.919, allocations: 315.3 kB / 0.6069 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/1.919, allocations: 214.1 kB / 0.6071 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1714/2.09, allocations: 80.47 MB / 0.6857 GB, free: 1.59 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/2.09, allocations: 38.56 kB / 0.6858 GB, free: 1.543 MB / 0.573 GB Notification: Performance of pre-optimization done (n=80): time 2.465e-06/2.091, allocations: 0 / 0.6858 GB, free: 1.543 MB / 0.573 GB Notification: Performance of matching and sorting (n=80): time 0.003037/2.094, allocations: 1.312 MB / 0.687 GB, free: 168 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/2.094, allocations: 81.11 kB / 0.6871 GB, free: 68 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1491/2.243, allocations: 285.3 kB / 0.6874 GB, free: 222.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/2.243, allocations: 30.52 kB / 0.6874 GB, free: 222.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/2.243, allocations: 217.2 kB / 0.6876 GB, free: 222 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/2.243, allocations: 269.5 kB / 0.6879 GB, free: 221.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/2.243, allocations: 98.33 kB / 0.688 GB, free: 221.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.019e-05/2.243, allocations: 357.7 kB / 0.6883 GB, free: 221.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/2.243, allocations: 148.1 kB / 0.6885 GB, free: 221.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/2.244, allocations: 273.6 kB / 0.6887 GB, free: 221.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000524/2.244, allocations: 470 kB / 0.6892 GB, free: 221.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/2.244, allocations: 0 / 0.6892 GB, free: 221.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001086/2.245, allocations: 0.7319 MB / 0.6899 GB, free: 221.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/2.245, allocations: 7.438 kB / 0.6899 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/2.245, allocations: 5.969 kB / 0.6899 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/2.247, allocations: 0.8233 MB / 0.6907 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.258e-05/2.247, allocations: 13.89 kB / 0.6907 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/2.249, allocations: 2.128 MB / 0.6928 GB, free: 219.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/2.249, allocations: 60.67 kB / 0.6928 GB, free: 219.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/2.249, allocations: 18.25 kB / 0.6929 GB, free: 219.6 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 (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001604/2.249, allocations: 170 kB / 0.693 GB, free: 219.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/2.249, allocations: 49.06 kB / 0.6931 GB, free: 219.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/2.251, allocations: 1.518 MB / 0.6946 GB, free: 219.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001044/2.252, allocations: 0.8566 MB / 0.6954 GB, free: 219.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/2.252, allocations: 0.5 kB / 0.6954 GB, free: 219.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/2.252, allocations: 3.656 kB / 0.6954 GB, free: 219.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/2.254, allocations: 2.018 MB / 0.6974 GB, free: 218.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/2.254, allocations: 5.906 kB / 0.6974 GB, free: 218.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/2.254, allocations: 63.5 kB / 0.6974 GB, free: 218.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/2.255, allocations: 0.815 MB / 0.6982 GB, free: 218.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/2.255, allocations: 13.92 kB / 0.6982 GB, free: 218.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/2.257, allocations: 2.194 MB / 0.7004 GB, free: 217 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/2.257, allocations: 1.156 kB / 0.7004 GB, free: 217 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/2.258, allocations: 1.968 MB / 0.7023 GB, free: 216.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/2.259, allocations: 171.6 kB / 0.7025 GB, free: 216.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/2.259, allocations: 17.47 kB / 0.7025 GB, free: 216.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/2.259, allocations: 28.69 kB / 0.7025 GB, free: 216.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/2.259, allocations: 32.64 kB / 0.7025 GB, free: 216.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/2.259, allocations: 17.06 kB / 0.7026 GB, free: 216.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000188/2.259, allocations: 242.8 kB / 0.7028 GB, free: 216 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.11e-07/2.259, allocations: 0 / 0.7028 GB, free: 216 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002885/2.262, allocations: 1.328 MB / 0.7041 GB, free: 215.9 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 (44): * Single equations (assignments): 41 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004366/2.266, allocations: 1.835 MB / 0.7059 GB, free: 215.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001233/2.268, allocations: 0.8057 MB / 0.7067 GB, free: 215.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/2.268, allocations: 0.7812 kB / 0.7067 GB, free: 215.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007407/2.268, allocations: 442.6 kB / 0.7071 GB, free: 215.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/2.27, allocations: 243.8 kB / 0.7073 GB, free: 215.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/2.271, allocations: 1.967 MB / 0.7092 GB, free: 214.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/2.272, allocations: 0.9519 MB / 0.7102 GB, free: 213.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001688/2.272, allocations: 46.56 kB / 0.7102 GB, free: 213.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/2.272, allocations: 34.16 kB / 0.7103 GB, free: 213.9 MB / 0.573 GB Notification: Performance of SimCode: time 2.31e-07/2.272, allocations: 0 / 0.7103 GB, free: 213.9 MB / 0.573 GB Notification: Performance of Templates: time 0.04811/2.32, allocations: 49.67 MB / 0.7588 GB, free: 178.9 MB / 0.573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.pipe 2>&1)