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.7937/0.7937, allocations: 150.9 MB / 166 MB, free: 14.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002689/0.0002689, allocations: 15.97 kB / 204 MB, free: 9.707 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1343, allocations: 31.33 MB / 235.3 MB, free: 5.457 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.TestSteamDryer1): time 1.518/1.653, allocations: 293.8 MB / 0.5167 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04434/1.697, allocations: 39.57 MB / 0.5554 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003076/1.697, allocations: 4 kB / 0.5554 GB, free: 5.277 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/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.0005486/1.698, allocations: 145.2 kB / 0.5555 GB, free: 5.137 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004149/1.698, allocations: 170.6 kB / 0.5557 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01996/1.718, allocations: 7.506 MB / 0.563 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008146/1.719, allocations: 0.6414 MB / 0.5636 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003585/1.72, allocations: 268 kB / 0.5639 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/1.72, allocations: 242.9 kB / 0.5641 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/1.72, allocations: 238.8 kB / 0.5644 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/1.72, allocations: 35.94 kB / 0.5644 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02929/1.75, allocations: 18.63 MB / 0.5826 GB, free: 9.406 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/1.75, allocations: 87.64 kB / 0.5827 GB, free: 9.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003557/1.75, allocations: 286.5 kB / 0.5829 GB, free: 9.039 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01818/1.768, allocations: 9.076 MB / 0.5918 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.768, allocations: 4 kB / 0.5918 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.364e-06/1.768, allocations: 0 / 0.5918 GB, free: 15.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.054e-05/1.768, allocations: 3.938 kB / 0.5918 GB, free: 15.93 MB / 494.1 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.00432/1.773, allocations: 1.735 MB / 0.5935 GB, free: 14.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.773, allocations: 12.03 kB / 0.5935 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/1.773, allocations: 63.19 kB / 0.5936 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/1.773, allocations: 313.9 kB / 0.5939 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/1.773, allocations: 39.16 kB / 0.5939 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/1.773, allocations: 40 kB / 0.594 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008866/1.774, allocations: 0.6291 MB / 0.5946 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/1.774, allocations: 4 kB / 0.5946 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/1.774, allocations: 24 kB / 0.5946 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/1.774, allocations: 19.98 kB / 0.5946 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/1.775, allocations: 387.9 kB / 0.595 GB, free: 12.55 MB / 494.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.02023/1.795, allocations: 11.93 MB / 0.6066 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/1.796, allocations: 319.4 kB / 0.6069 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/1.796, allocations: 218.1 kB / 0.6072 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1518/1.948, allocations: 80.47 MB / 0.6857 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/1.948, allocations: 42.5 kB / 0.6858 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.034e-06/1.948, allocations: 0 / 0.6858 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.003044/1.951, allocations: 1.312 MB / 0.6871 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/1.951, allocations: 81.05 kB / 0.6871 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/1.951, allocations: 291.3 kB / 0.6874 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/1.952, allocations: 29.7 kB / 0.6874 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/1.952, allocations: 220.8 kB / 0.6876 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/1.952, allocations: 264 kB / 0.6879 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/1.952, allocations: 101.4 kB / 0.688 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.952, allocations: 362.7 kB / 0.6883 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/1.952, allocations: 148.9 kB / 0.6885 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/1.953, allocations: 273.9 kB / 0.6887 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/1.953, allocations: 469.2 kB / 0.6892 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.953, allocations: 0 / 0.6892 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00118/1.954, allocations: 0.7284 MB / 0.6899 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.954, allocations: 4 kB / 0.6899 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.954, allocations: 11.97 kB / 0.6899 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/1.956, allocations: 0.8313 MB / 0.6907 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.385e-05/1.956, allocations: 7.938 kB / 0.6907 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1566/2.113, allocations: 2.124 MB / 0.6928 GB, free: 223.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/2.113, allocations: 59.27 kB / 0.6929 GB, free: 223.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/2.113, allocations: 15.78 kB / 0.6929 GB, free: 223.6 MB / 0.5762 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.0001893/2.113, allocations: 169.5 kB / 0.693 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/2.114, allocations: 44.25 kB / 0.6931 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/2.115, allocations: 1.527 MB / 0.6946 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009889/2.116, allocations: 0.8544 MB / 0.6954 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/2.116, allocations: 0 / 0.6954 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/2.116, allocations: 2.797 kB / 0.6954 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/2.118, allocations: 2.016 MB / 0.6974 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/2.118, allocations: 4.906 kB / 0.6974 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/2.119, allocations: 62.41 kB / 0.6974 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/2.12, allocations: 0.808 MB / 0.6982 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/2.12, allocations: 15.83 kB / 0.6983 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/2.121, allocations: 2.195 MB / 0.7004 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/2.121, allocations: 0 / 0.7004 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/2.122, allocations: 1.022 MB / 0.7014 GB, free: 221 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/2.123, allocations: 170.8 kB / 0.7016 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/2.123, allocations: 20.53 kB / 0.7016 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/2.123, allocations: 19.73 kB / 0.7016 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/2.123, allocations: 33.25 kB / 0.7016 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/2.123, allocations: 18.48 kB / 0.7016 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002125/2.123, allocations: 241.4 kB / 0.7019 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/2.123, allocations: 0.6562 kB / 0.7019 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002795/2.126, allocations: 1.294 MB / 0.7031 GB, free: 220.7 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 (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.004448/2.13, allocations: 1.837 MB / 0.7049 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001224/2.132, allocations: 0.8044 MB / 0.7057 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/2.132, allocations: 0 / 0.7057 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006753/2.132, allocations: 437.8 kB / 0.7061 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/2.134, allocations: 250.1 kB / 0.7064 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/2.135, allocations: 1.453 MB / 0.7078 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/2.136, allocations: 0.9326 MB / 0.7087 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001982/2.136, allocations: 44.36 kB / 0.7087 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/2.136, allocations: 35.28 kB / 0.7088 GB, free: 218.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/2.136, allocations: 0.625 kB / 0.7088 GB, free: 218.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.04963/2.185, allocations: 49.18 MB / 0.7568 GB, free: 185.9 MB / 0.5762 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)