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.8332/0.8332, allocations: 150.9 MB / 166.5 MB, free: 14.7 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 16.69 kB / 237.1 MB, free: 1.719 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0511/0.05143, allocations: 31.35 MB / 268.4 MB, free: 7.055 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.62/1.672, allocations: 296.4 MB / 0.5516 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02982/1.702, allocations: 24.05 MB / 0.5751 GB, free: 3.34 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/1.702, allocations: 7.938 kB / 0.5751 GB, free: 3.332 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.0005402/1.703, allocations: 218.7 kB / 0.5753 GB, free: 3.117 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006065/1.703, allocations: 325.8 kB / 0.5756 GB, free: 2.797 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.01778/1.721, allocations: 7.519 MB / 0.5829 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/1.722, allocations: 0.8788 MB / 0.5838 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004151/1.723, allocations: 248.8 kB / 0.584 GB, free: 10.14 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/1.723, allocations: 346.6 kB / 0.5844 GB, free: 9.805 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/1.724, allocations: 266.6 kB / 0.5846 GB, free: 9.543 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/1.724, allocations: 40 kB / 0.5847 GB, free: 9.504 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02594/1.75, allocations: 16.08 MB / 0.6004 GB, free: 9.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/1.75, allocations: 99.56 kB / 0.6004 GB, free: 9.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004522/1.75, allocations: 330.3 kB / 0.6008 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01308/1.763, allocations: 7.071 MB / 0.6077 GB, free: 1.898 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.763, allocations: 0 / 0.6077 GB, free: 1.898 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/1.763, allocations: 4 kB / 0.6077 GB, free: 1.895 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/1.763, allocations: 0 / 0.6077 GB, free: 1.895 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.004059/1.767, allocations: 1.478 MB / 0.6091 GB, free: 372 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.767, allocations: 8.031 kB / 0.6091 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/1.768, allocations: 68 kB / 0.6092 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/1.768, allocations: 315.1 kB / 0.6095 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/1.768, allocations: 33.31 kB / 0.6095 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/1.768, allocations: 48.38 kB / 0.6096 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009672/1.769, allocations: 0.6892 MB / 0.6102 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/1.769, allocations: 0 / 0.6102 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/1.769, allocations: 16 kB / 0.6103 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/1.769, allocations: 39.97 kB / 0.6103 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006054/1.77, allocations: 451.6 kB / 0.6107 GB, free: 14.63 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.07766/1.847, allocations: 36.37 MB / 0.6462 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/1.848, allocations: 379.5 kB / 0.6466 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/1.848, allocations: 294.8 kB / 0.6469 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0878/1.936, allocations: 36.62 MB / 0.6826 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/1.936, allocations: 38.56 kB / 0.6827 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=124): time 2.074e-06/1.936, allocations: 0 / 0.6827 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124): time 0.002332/1.939, allocations: 1.2 MB / 0.6839 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/1.939, allocations: 63.34 kB / 0.6839 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/1.939, allocations: 324.4 kB / 0.6842 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/1.939, allocations: 29.7 kB / 0.6843 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/1.939, allocations: 213.4 kB / 0.6845 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/1.94, allocations: 401.8 kB / 0.6848 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/1.94, allocations: 109.7 kB / 0.6849 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.94, allocations: 370.8 kB / 0.6853 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/1.94, allocations: 217.2 kB / 0.6855 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/1.941, allocations: 331.7 kB / 0.6858 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007513/1.941, allocations: 0.6214 MB / 0.6864 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.941, allocations: 4 kB / 0.6864 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001129/1.942, allocations: 0.7766 MB / 0.6872 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.943, allocations: 8 kB / 0.6872 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/1.943, allocations: 4 kB / 0.6872 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/1.944, allocations: 337.4 kB / 0.6875 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/1.944, allocations: 19.94 kB / 0.6875 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/1.946, allocations: 1.288 MB / 0.6888 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/1.946, allocations: 75.03 kB / 0.6889 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/1.946, allocations: 16 kB / 0.6889 GB, free: 7.293 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.0002183/1.946, allocations: 170.3 kB / 0.689 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/1.946, allocations: 59.19 kB / 0.6891 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/1.95, allocations: 4.027 MB / 0.693 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001106/1.951, allocations: 0.8197 MB / 0.6938 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.951, allocations: 0 / 0.6938 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.951, allocations: 7.922 kB / 0.6938 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/1.954, allocations: 2.135 MB / 0.6959 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/1.954, allocations: 7.984 kB / 0.6959 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/1.955, allocations: 88.03 kB / 0.696 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008598/1.956, allocations: 243.2 kB / 0.6963 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/1.956, allocations: 16 kB / 0.6963 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/1.957, allocations: 1.341 MB / 0.6976 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.957, allocations: 0 / 0.6976 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/1.958, allocations: 0.9701 MB / 0.6985 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/1.958, allocations: 192 kB / 0.6987 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/1.958, allocations: 31.69 kB / 0.6987 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/1.959, allocations: 16 kB / 0.6988 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.727e-05/1.959, allocations: 44.53 kB / 0.6988 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/1.959, allocations: 16 kB / 0.6988 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004756/1.959, allocations: 422.8 kB / 0.6992 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.959, allocations: 4 kB / 0.6992 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002519/1.962, allocations: 0.9993 MB / 0.7002 GB, free: 11.34 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.004255/1.966, allocations: 1.166 MB / 0.7013 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001385/1.967, allocations: 1.01 MB / 0.7023 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.968, allocations: 0 / 0.7023 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006066/1.968, allocations: 408.2 kB / 0.7027 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/1.97, allocations: 436.3 kB / 0.7031 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/1.972, allocations: 1.411 MB / 0.7045 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/1.973, allocations: 0.9867 MB / 0.7055 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002617/1.973, allocations: 76.53 kB / 0.7055 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/1.973, allocations: 47.44 kB / 0.7056 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/1.973, allocations: 0 / 0.7056 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of Templates: time 0.2158/2.189, allocations: 45.12 MB / 0.7496 GB, free: 198.1 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)