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.7435/0.7435, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 15.58 kB / 237.8 MB, free: 1.77 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04348/0.0438, allocations: 31.35 MB / 269.1 MB, free: 7.031 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.438/1.482, allocations: 296.3 MB / 0.5522 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02546/1.507, allocations: 24.05 MB / 0.5757 GB, free: 3.312 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/1.508, allocations: 4 kB / 0.5757 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.0004696/1.508, allocations: 195.6 kB / 0.5759 GB, free: 3.117 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004013/1.509, allocations: 265.8 kB / 0.5761 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.01567/1.524, allocations: 7.429 MB / 0.5834 GB, free: 11.43 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009396/1.525, allocations: 0.8826 MB / 0.5842 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/1.525, allocations: 240.9 kB / 0.5845 GB, free: 10.3 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003617/1.526, allocations: 342.6 kB / 0.5848 GB, free: 9.965 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/1.526, allocations: 274.5 kB / 0.585 GB, free: 9.695 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.122e-05/1.526, allocations: 36 kB / 0.5851 GB, free: 9.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02297/1.549, allocations: 16.08 MB / 0.6008 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/1.549, allocations: 95.56 kB / 0.6009 GB, free: 9.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003468/1.55, allocations: 330.3 kB / 0.6012 GB, free: 9.145 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009598/1.559, allocations: 7.079 MB / 0.6081 GB, free: 2.051 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.559, allocations: 0 / 0.6081 GB, free: 2.051 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/1.559, allocations: 0 / 0.6081 GB, free: 2.051 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/1.559, allocations: 4 kB / 0.6081 GB, free: 2.047 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.003347/1.563, allocations: 1.478 MB / 0.6095 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/1.563, allocations: 8.031 kB / 0.6096 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.038e-05/1.563, allocations: 72 kB / 0.6096 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/1.563, allocations: 311.2 kB / 0.6099 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/1.563, allocations: 29.38 kB / 0.6099 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/1.563, allocations: 40.38 kB / 0.61 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008042/1.564, allocations: 0.6892 MB / 0.6107 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/1.564, allocations: 15.91 kB / 0.6107 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/1.564, allocations: 16 kB / 0.6107 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/1.564, allocations: 35.97 kB / 0.6107 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005355/1.565, allocations: 455.6 kB / 0.6112 GB, free: 14.78 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.07133/1.636, allocations: 36.36 MB / 0.6467 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/1.637, allocations: 379.5 kB / 0.647 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/1.637, allocations: 294.8 kB / 0.6473 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0801/1.717, allocations: 36.61 MB / 0.6831 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/1.717, allocations: 42.56 kB / 0.6831 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=124): time 2.004e-06/1.717, allocations: 0 / 0.6831 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124): time 0.002101/1.719, allocations: 1.208 MB / 0.6843 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/1.719, allocations: 55.34 kB / 0.6843 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/1.72, allocations: 332.3 kB / 0.6847 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/1.72, allocations: 29.7 kB / 0.6847 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/1.72, allocations: 213.4 kB / 0.6849 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/1.72, allocations: 397.8 kB / 0.6853 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/1.72, allocations: 109.7 kB / 0.6854 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.72, allocations: 366.8 kB / 0.6857 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/1.72, allocations: 225.2 kB / 0.6859 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/1.721, allocations: 323.7 kB / 0.6862 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006727/1.722, allocations: 0.6175 MB / 0.6869 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.722, allocations: 0 / 0.6869 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001014/1.723, allocations: 0.7844 MB / 0.6876 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.723, allocations: 4 kB / 0.6876 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.723, allocations: 11.88 kB / 0.6876 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/1.724, allocations: 341.3 kB / 0.688 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.755e-05/1.724, allocations: 12 kB / 0.688 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009566/1.725, allocations: 1.287 MB / 0.6892 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/1.725, allocations: 74.97 kB / 0.6893 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/1.726, allocations: 20 kB / 0.6893 GB, free: 7.449 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.0001882/1.726, allocations: 170.8 kB / 0.6895 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.69e-05/1.726, allocations: 55.19 kB / 0.6895 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/1.729, allocations: 4.031 MB / 0.6935 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009266/1.73, allocations: 0.8196 MB / 0.6943 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.73, allocations: 0 / 0.6943 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/1.73, allocations: 7.922 kB / 0.6943 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/1.732, allocations: 2.135 MB / 0.6964 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.732, allocations: 0 / 0.6964 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/1.732, allocations: 99.83 kB / 0.6965 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006911/1.733, allocations: 241.5 kB / 0.6967 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/1.733, allocations: 16 kB / 0.6967 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000858/1.734, allocations: 1.333 MB / 0.698 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.734, allocations: 0 / 0.698 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/1.735, allocations: 0.9779 MB / 0.699 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/1.735, allocations: 184.2 kB / 0.6991 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.399e-05/1.735, allocations: 35.67 kB / 0.6992 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/1.736, allocations: 15.98 kB / 0.6992 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/1.736, allocations: 44.59 kB / 0.6992 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/1.736, allocations: 16 kB / 0.6992 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004147/1.736, allocations: 426.8 kB / 0.6996 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.736, allocations: 0 / 0.6996 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002159/1.738, allocations: 0.9915 MB / 0.7006 GB, free: 11.5 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.003612/1.742, allocations: 1.17 MB / 0.7018 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001211/1.743, allocations: 1.018 MB / 0.7028 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.743, allocations: 0 / 0.7028 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005277/1.744, allocations: 408.2 kB / 0.7031 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/1.746, allocations: 431 kB / 0.7036 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/1.747, allocations: 1.471 MB / 0.705 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/1.748, allocations: 0.9907 MB / 0.706 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/1.748, allocations: 47.44 kB / 0.706 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/1.748, allocations: 0 / 0.706 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of Templates: time 0.1794/1.927, allocations: 31.85 MB / 0.7371 GB, free: 205.6 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)