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.7218/0.7218, allocations: 150.9 MB / 167.1 MB, free: 14.22 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 21.12 kB / 237.7 MB, free: 1.871 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04616/0.04651, allocations: 31.35 MB / 269.1 MB, free: 7.023 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.386/1.433, allocations: 296.1 MB / 0.552 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02491/1.458, allocations: 24.05 MB / 0.5754 GB, free: 3.387 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/1.458, allocations: 4 kB / 0.5754 GB, free: 3.383 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.0004561/1.459, allocations: 204.3 kB / 0.5756 GB, free: 3.184 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004012/1.459, allocations: 253.9 kB / 0.5759 GB, free: 2.934 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.01524/1.474, allocations: 7.433 MB / 0.5831 GB, free: 11.49 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008788/1.475, allocations: 0.8826 MB / 0.584 GB, free: 10.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/1.476, allocations: 240.9 kB / 0.5842 GB, free: 10.37 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/1.476, allocations: 338.6 kB / 0.5845 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/1.476, allocations: 270.6 kB / 0.5848 GB, free: 9.77 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/1.476, allocations: 40 kB / 0.5848 GB, free: 9.73 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02167/1.498, allocations: 16.08 MB / 0.6005 GB, free: 9.633 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/1.498, allocations: 107.5 kB / 0.6006 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/1.498, allocations: 326.3 kB / 0.601 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/1.51, allocations: 7.083 MB / 0.6079 GB, free: 2.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.51, allocations: 0 / 0.6079 GB, free: 2.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/1.51, allocations: 0 / 0.6079 GB, free: 2.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/1.51, allocations: 0 / 0.6079 GB, free: 2.109 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.003045/1.513, allocations: 1.47 MB / 0.6093 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.513, allocations: 8.031 kB / 0.6093 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.7e-05/1.513, allocations: 72 kB / 0.6094 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/1.514, allocations: 323.1 kB / 0.6097 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/1.514, allocations: 37.36 kB / 0.6097 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/1.514, allocations: 36.38 kB / 0.6098 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007715/1.514, allocations: 0.6893 MB / 0.6104 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/1.514, allocations: 3.938 kB / 0.6104 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/1.515, allocations: 16 kB / 0.6105 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/1.515, allocations: 39.95 kB / 0.6105 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005361/1.515, allocations: 447.7 kB / 0.6109 GB, free: 14.84 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.06836/1.583, allocations: 36.36 MB / 0.6464 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/1.584, allocations: 379.5 kB / 0.6468 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/1.584, allocations: 290.8 kB / 0.6471 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07706/1.661, allocations: 36.63 MB / 0.6828 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.661, allocations: 38.56 kB / 0.6829 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=124): time 2.073e-06/1.661, allocations: 0 / 0.6829 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124): time 0.001994/1.663, allocations: 1.207 MB / 0.6841 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/1.663, allocations: 55.41 kB / 0.6841 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/1.664, allocations: 320.5 kB / 0.6844 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/1.664, allocations: 33.64 kB / 0.6845 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.664, allocations: 217.4 kB / 0.6847 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/1.664, allocations: 393.8 kB / 0.685 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/1.664, allocations: 117.6 kB / 0.6851 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.664, allocations: 366.8 kB / 0.6855 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/1.665, allocations: 229.2 kB / 0.6857 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/1.665, allocations: 319.7 kB / 0.686 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/1.666, allocations: 0.6136 MB / 0.6866 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.666, allocations: 0 / 0.6866 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0009644/1.667, allocations: 0.7803 MB / 0.6874 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.667, allocations: 4 kB / 0.6874 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/1.667, allocations: 4 kB / 0.6874 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/1.668, allocations: 341.5 kB / 0.6877 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/1.668, allocations: 23.92 kB / 0.6877 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009113/1.669, allocations: 1.296 MB / 0.689 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/1.669, allocations: 70.97 kB / 0.6891 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/1.67, allocations: 12.12 kB / 0.6891 GB, free: 7.52 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.0001774/1.67, allocations: 175.7 kB / 0.6892 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/1.67, allocations: 55.19 kB / 0.6893 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003113/1.673, allocations: 4.035 MB / 0.6932 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009637/1.674, allocations: 0.8196 MB / 0.694 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.674, allocations: 0 / 0.694 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/1.674, allocations: 7.922 kB / 0.694 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/1.676, allocations: 2.135 MB / 0.6961 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.676, allocations: 4 kB / 0.6961 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/1.677, allocations: 91.89 kB / 0.6962 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006721/1.677, allocations: 243.7 kB / 0.6965 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/1.677, allocations: 12 kB / 0.6965 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008445/1.678, allocations: 1.337 MB / 0.6978 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.678, allocations: 3.938 kB / 0.6978 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/1.679, allocations: 0.9701 MB / 0.6987 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/1.679, allocations: 188 kB / 0.6989 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/1.679, allocations: 35.69 kB / 0.6989 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/1.68, allocations: 16.05 kB / 0.699 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/1.68, allocations: 48.59 kB / 0.699 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/1.68, allocations: 16 kB / 0.699 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004038/1.68, allocations: 434.7 kB / 0.6994 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.68, allocations: 0 / 0.6994 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002094/1.682, allocations: 0.9915 MB / 0.7004 GB, free: 11.56 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.002897/1.685, allocations: 1.158 MB / 0.7015 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001108/1.686, allocations: 1.014 MB / 0.7025 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.686, allocations: 0 / 0.7025 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005111/1.687, allocations: 416.6 kB / 0.7029 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/1.689, allocations: 427.7 kB / 0.7033 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/1.69, allocations: 1.474 MB / 0.7048 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/1.691, allocations: 0.9868 MB / 0.7057 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/1.691, allocations: 55.44 kB / 0.7058 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of SimCode: time 2.01e-07/1.691, allocations: 0 / 0.7058 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of Templates: time 0.1772/1.868, allocations: 31.79 MB / 0.7368 GB, free: 205.5 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)