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.8561/0.8561, allocations: 150.9 MB / 167.1 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003443, allocations: 23.97 kB / 205.9 MB, free: 9.031 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 31.32 MB / 237.3 MB, free: 5.738 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.TestSimpleStaticCondenser): time 1.62/1.755, allocations: 296.1 MB / 0.5209 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0279/1.783, allocations: 24.03 MB / 0.5444 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/1.783, allocations: 4 kB / 0.5444 GB, free: 3.754 MB / 430.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.0005837/1.784, allocations: 209.6 kB / 0.5446 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004907/1.784, allocations: 259.8 kB / 0.5448 GB, free: 3.297 MB / 430.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.01761/1.802, allocations: 7.43 MB / 0.5521 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/1.803, allocations: 0.8827 MB / 0.5529 GB, free: 11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/1.803, allocations: 237.2 kB / 0.5531 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/1.804, allocations: 342.6 kB / 0.5535 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/1.804, allocations: 272.2 kB / 0.5537 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/1.804, allocations: 40 kB / 0.5538 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02512/1.829, allocations: 16.08 MB / 0.5695 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/1.829, allocations: 95.58 kB / 0.5696 GB, free: 9.938 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000415/1.83, allocations: 334.2 kB / 0.5699 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01282/1.843, allocations: 7.071 MB / 0.5768 GB, free: 2.523 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.843, allocations: 0 / 0.5768 GB, free: 2.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/1.843, allocations: 0 / 0.5768 GB, free: 2.523 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/1.843, allocations: 0 / 0.5768 GB, free: 2.523 MB / 462.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.003275/1.846, allocations: 1.482 MB / 0.5782 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/1.846, allocations: 8.031 kB / 0.5782 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.521e-05/1.846, allocations: 71.98 kB / 0.5783 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/1.846, allocations: 314.2 kB / 0.5786 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/1.846, allocations: 37.38 kB / 0.5787 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/1.846, allocations: 36.38 kB / 0.5787 GB, free: 0.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000845/1.847, allocations: 0.7008 MB / 0.5794 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/1.847, allocations: 0 / 0.5794 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.992e-05/1.847, allocations: 16 kB / 0.5794 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/1.847, allocations: 35.97 kB / 0.5794 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/1.848, allocations: 459.6 kB / 0.5799 GB, free: 15.25 MB / 478.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.07236/1.92, allocations: 36.36 MB / 0.6154 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/1.921, allocations: 371.5 kB / 0.6157 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/1.921, allocations: 298.7 kB / 0.616 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0802/2.002, allocations: 36.62 MB / 0.6518 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/2.002, allocations: 42.55 kB / 0.6518 GB, free: 14.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 2.184e-06/2.002, allocations: 0 / 0.6518 GB, free: 14.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002228/2.004, allocations: 1.2 MB / 0.653 GB, free: 13.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/2.004, allocations: 55.41 kB / 0.653 GB, free: 13.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/2.004, allocations: 328.4 kB / 0.6534 GB, free: 12.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/2.004, allocations: 29.7 kB / 0.6534 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/2.004, allocations: 217.3 kB / 0.6536 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/2.005, allocations: 397.9 kB / 0.654 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/2.005, allocations: 121.5 kB / 0.6541 GB, free: 12.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001352/2.005, allocations: 362.8 kB / 0.6544 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/2.005, allocations: 225.2 kB / 0.6546 GB, free: 11.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/2.006, allocations: 328.4 kB / 0.655 GB, free: 11.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007253/2.006, allocations: 0.6175 MB / 0.6556 GB, free: 10.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/2.006, allocations: 0 / 0.6556 GB, free: 10.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001062/2.008, allocations: 0.7764 MB / 0.6563 GB, free: 9.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/2.008, allocations: 7.938 kB / 0.6563 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/2.008, allocations: 11.03 kB / 0.6563 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/2.009, allocations: 336.1 kB / 0.6567 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/2.009, allocations: 19.94 kB / 0.6567 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/2.01, allocations: 1.293 MB / 0.6579 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/2.011, allocations: 70.97 kB / 0.658 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/2.011, allocations: 16 kB / 0.658 GB, free: 7.922 MB / 0.545 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.0001969/2.011, allocations: 177.9 kB / 0.6582 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/2.011, allocations: 55.19 kB / 0.6582 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003532/2.014, allocations: 4.015 MB / 0.6622 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001075/2.016, allocations: 0.8235 MB / 0.663 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/2.016, allocations: 0 / 0.663 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/2.016, allocations: 7.922 kB / 0.663 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/2.018, allocations: 2.144 MB / 0.6651 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/2.018, allocations: 0 / 0.6651 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/2.019, allocations: 87.91 kB / 0.6652 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007503/2.019, allocations: 242.8 kB / 0.6654 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/2.019, allocations: 12 kB / 0.6654 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/2.02, allocations: 1.329 MB / 0.6667 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/2.02, allocations: 4.062 kB / 0.6667 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/2.022, allocations: 0.974 MB / 0.6677 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/2.022, allocations: 198.8 kB / 0.6678 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/2.022, allocations: 35.59 kB / 0.6679 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/2.022, allocations: 16 kB / 0.6679 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/2.022, allocations: 44.59 kB / 0.6679 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/2.022, allocations: 16 kB / 0.6679 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004591/2.023, allocations: 426.8 kB / 0.6684 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/2.023, allocations: 0 / 0.6684 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002357/2.025, allocations: 0.9916 MB / 0.6693 GB, free: 11.98 MB / 0.5606 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.003309/2.029, allocations: 1.153 MB / 0.6704 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001296/2.03, allocations: 1.014 MB / 0.6714 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/2.03, allocations: 0.5 kB / 0.6714 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005656/2.03, allocations: 420.2 kB / 0.6718 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/2.032, allocations: 432.6 kB / 0.6723 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/2.034, allocations: 1.414 MB / 0.6736 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/2.035, allocations: 0.9829 MB / 0.6746 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002333/2.035, allocations: 84.5 kB / 0.6747 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/2.035, allocations: 47.44 kB / 0.6747 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/2.035, allocations: 0 / 0.6747 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of Templates: time 0.2008/2.236, allocations: 44.86 MB / 0.7185 GB, free: 220.9 MB / 0.5762 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 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)