Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.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.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9397/0.9397, allocations: 150.9 MB / 166.5 MB, free: 14.18 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.0003102, allocations: 13.55 kB / 237.1 MB, free: 1.836 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0572/0.05753, allocations: 31.35 MB / 268.4 MB, free: 7.02 MB / 222.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.TestSimpleStaticCondenser): time 1.615/1.673, allocations: 296.4 MB / 0.5516 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03005/1.703, allocations: 24.05 MB / 0.5751 GB, free: 3.312 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003881/1.703, allocations: 4 kB / 0.5751 GB, free: 3.309 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:58:3-60:44:writable] Warning: Connector Ec 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/HeatExchangers/SimpleStaticCondenser.mo:61:3-63:42:writable] Warning: Connector Ef 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/HeatExchangers/SimpleStaticCondenser.mo:64:3-66:36:writable] Warning: Connector Sf 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/HeatExchangers/SimpleStaticCondenser.mo:67:3-69:37:writable] Warning: Connector Sc 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/SourceP.mo:30:3-31:45: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/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). Notification: Performance of NFTyping.typeComponents: time 0.0005991/1.704, allocations: 201.9 kB / 0.5753 GB, free: 3.113 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006415/1.705, allocations: 261.8 kB / 0.5755 GB, free: 2.855 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01881/1.724, allocations: 7.431 MB / 0.5828 GB, free: 11.43 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/1.725, allocations: 0.8788 MB / 0.5837 GB, free: 10.55 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000412/1.725, allocations: 240.9 kB / 0.5839 GB, free: 10.31 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005234/1.726, allocations: 342.6 kB / 0.5842 GB, free: 9.973 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/1.726, allocations: 270.6 kB / 0.5845 GB, free: 9.707 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/1.726, allocations: 39.94 kB / 0.5845 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.027/1.753, allocations: 16.09 MB / 0.6002 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/1.753, allocations: 103.5 kB / 0.6003 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000418/1.754, allocations: 326.2 kB / 0.6006 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/1.767, allocations: 7.093 MB / 0.6076 GB, free: 2.031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.767, allocations: 0 / 0.6076 GB, free: 2.031 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/1.767, allocations: 0 / 0.6076 GB, free: 2.031 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.509e-05/1.767, allocations: 0 / 0.6076 GB, free: 2.031 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.00394/1.771, allocations: 1.528 MB / 0.609 GB, free: 456 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/1.771, allocations: 12.03 kB / 0.6091 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/1.772, allocations: 72.42 kB / 0.6091 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/1.772, allocations: 315.2 kB / 0.6094 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/1.772, allocations: 29.42 kB / 0.6095 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/1.772, allocations: 44.31 kB / 0.6095 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009125/1.773, allocations: 0.6853 MB / 0.6102 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/1.773, allocations: 3.938 kB / 0.6102 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/1.773, allocations: 19.98 kB / 0.6102 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/1.773, allocations: 35.97 kB / 0.6102 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006162/1.774, allocations: 459.6 kB / 0.6107 GB, free: 14.7 MB / 0.4981 GB 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.07648/1.85, allocations: 36.37 MB / 0.6462 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/1.851, allocations: 367.6 kB / 0.6465 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/1.851, allocations: 294.8 kB / 0.6468 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08652/1.938, allocations: 36.63 MB / 0.6826 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.938, allocations: 34.56 kB / 0.6826 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=124): time 2.635e-06/1.938, allocations: 0 / 0.6826 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124): time 0.002443/1.94, allocations: 1.212 MB / 0.6838 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/1.94, allocations: 51.41 kB / 0.6839 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/1.941, allocations: 324.5 kB / 0.6842 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/1.941, allocations: 29.7 kB / 0.6842 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/1.941, allocations: 221.7 kB / 0.6844 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/1.941, allocations: 420.2 kB / 0.6848 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/1.941, allocations: 117.6 kB / 0.6849 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.942, allocations: 370.8 kB / 0.6853 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/1.942, allocations: 217.2 kB / 0.6855 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/1.942, allocations: 319.7 kB / 0.6858 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007963/1.943, allocations: 0.6214 MB / 0.6864 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.943, allocations: 0 / 0.6864 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00119/1.944, allocations: 0.7923 MB / 0.6872 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/1.944, allocations: 4 kB / 0.6872 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/1.944, allocations: 4 kB / 0.6872 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/1.946, allocations: 341.5 kB / 0.6875 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/1.946, allocations: 15.98 kB / 0.6875 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/1.947, allocations: 1.292 MB / 0.6888 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/1.948, allocations: 75.23 kB / 0.6888 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/1.948, allocations: 20.03 kB / 0.6889 GB, free: 7.328 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (sinkP1.C.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,simpleStaticCondenser.Sc.b,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,3), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002214/1.948, allocations: 173.8 kB / 0.689 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.184e-05/1.948, allocations: 59.64 kB / 0.6891 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/1.952, allocations: 4.035 MB / 0.693 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001123/1.953, allocations: 0.8196 MB / 0.6938 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.953, allocations: 0 / 0.6938 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/1.953, allocations: 7.922 kB / 0.6938 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/1.956, allocations: 2.14 MB / 0.6959 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.956, allocations: 0 / 0.6959 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/1.956, allocations: 95.84 kB / 0.696 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008084/1.957, allocations: 242.4 kB / 0.6962 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/1.957, allocations: 19.98 kB / 0.6963 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/1.958, allocations: 1.33 MB / 0.6976 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.958, allocations: 4.062 kB / 0.6976 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/1.96, allocations: 0.9745 MB / 0.6985 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/1.96, allocations: 188.5 kB / 0.6987 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.814e-05/1.96, allocations: 31.8 kB / 0.6987 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/1.96, allocations: 16 kB / 0.6987 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/1.961, allocations: 48.64 kB / 0.6988 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/1.961, allocations: 20 kB / 0.6988 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004879/1.961, allocations: 430.8 kB / 0.6992 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/1.961, allocations: 0 / 0.6992 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002656/1.964, allocations: 1.002 MB / 0.7002 GB, free: 11.35 MB / 0.5919 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004544/1.968, allocations: 1.176 MB / 0.7013 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001431/1.97, allocations: 1.01 MB / 0.7023 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.97, allocations: 0.5 kB / 0.7023 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006552/1.97, allocations: 416.2 kB / 0.7027 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/1.972, allocations: 430.3 kB / 0.7031 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/1.975, allocations: 1.439 MB / 0.7045 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/1.975, allocations: 0.9945 MB / 0.7055 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000284/1.976, allocations: 76.52 kB / 0.7056 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/1.976, allocations: 47.44 kB / 0.7056 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/1.976, allocations: 0 / 0.7056 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of Templates: time 0.2281/2.204, allocations: 45.11 MB / 0.7497 GB, free: 197.9 MB / 0.5919 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)