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.7487/0.7487, allocations: 150.9 MB / 167 MB, free: 14.56 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 23.97 kB / 205.2 MB, free: 9.738 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1201, allocations: 31.33 MB / 236.5 MB, free: 5.773 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.419/1.539, allocations: 296.3 MB / 0.5204 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02563/1.564, allocations: 24.03 MB / 0.5438 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/1.565, allocations: 8 kB / 0.5438 GB, free: 4.008 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.0005029/1.565, allocations: 201.2 kB / 0.544 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/1.566, allocations: 265.1 kB / 0.5443 GB, free: 3.555 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.01545/1.581, allocations: 7.427 MB / 0.5515 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000894/1.582, allocations: 0.8788 MB / 0.5524 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/1.582, allocations: 240.6 kB / 0.5526 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003944/1.583, allocations: 341.3 kB / 0.553 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/1.583, allocations: 262.6 kB / 0.5532 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-05/1.583, allocations: 40 kB / 0.5532 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0218/1.605, allocations: 15.86 MB / 0.5687 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/1.605, allocations: 103.5 kB / 0.5688 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003547/1.606, allocations: 330.2 kB / 0.5692 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/1.616, allocations: 7.077 MB / 0.5761 GB, free: 3.012 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.616, allocations: 4 kB / 0.5761 GB, free: 3.008 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/1.616, allocations: 0 / 0.5761 GB, free: 3.008 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/1.616, allocations: 0 / 0.5761 GB, free: 3.008 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.003244/1.619, allocations: 1.475 MB / 0.5775 GB, free: 1.484 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/1.619, allocations: 12.03 kB / 0.5775 GB, free: 1.473 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/1.619, allocations: 68 kB / 0.5776 GB, free: 1.406 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/1.62, allocations: 322.1 kB / 0.5779 GB, free: 1.055 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/1.62, allocations: 29.38 kB / 0.5779 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/1.62, allocations: 44.38 kB / 0.578 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007774/1.62, allocations: 0.6892 MB / 0.5786 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/1.621, allocations: 4.875 kB / 0.5786 GB, free: 248 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/1.621, allocations: 16 kB / 0.5787 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/1.621, allocations: 39.95 kB / 0.5787 GB, free: 192 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005472/1.621, allocations: 447.8 kB / 0.5791 GB, free: 15.75 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.06922/1.69, allocations: 36.15 MB / 0.6144 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/1.691, allocations: 371.5 kB / 0.6148 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/1.691, allocations: 300 kB / 0.6151 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07694/1.768, allocations: 36.35 MB / 0.6506 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/1.768, allocations: 34.56 kB / 0.6506 GB, free: 15.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 3.958e-06/1.768, allocations: 4 kB / 0.6506 GB, free: 15.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002048/1.77, allocations: 1.2 MB / 0.6518 GB, free: 14.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/1.77, allocations: 55.41 kB / 0.6518 GB, free: 14.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/1.771, allocations: 324.4 kB / 0.6521 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/1.771, allocations: 29.7 kB / 0.6522 GB, free: 13.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/1.771, allocations: 225.2 kB / 0.6524 GB, free: 13.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/1.771, allocations: 401.9 kB / 0.6528 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/1.771, allocations: 109.6 kB / 0.6529 GB, free: 13.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.771, allocations: 374.8 kB / 0.6532 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/1.772, allocations: 217.2 kB / 0.6534 GB, free: 12.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/1.772, allocations: 332.5 kB / 0.6537 GB, free: 12.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006602/1.773, allocations: 0.6136 MB / 0.6543 GB, free: 11.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.773, allocations: 0 / 0.6543 GB, free: 11.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0009587/1.774, allocations: 0.7803 MB / 0.6551 GB, free: 10.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.774, allocations: 12.25 kB / 0.6551 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.774, allocations: 0 / 0.6551 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/1.775, allocations: 342.9 kB / 0.6554 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/1.775, allocations: 19.98 kB / 0.6555 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009158/1.776, allocations: 1.282 MB / 0.6567 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/1.776, allocations: 75.03 kB / 0.6568 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/1.776, allocations: 24.03 kB / 0.6568 GB, free: 8.906 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.0001867/1.777, allocations: 171.3 kB / 0.657 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/1.777, allocations: 55.19 kB / 0.657 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003113/1.78, allocations: 4.031 MB / 0.661 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009766/1.781, allocations: 0.8157 MB / 0.6618 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.781, allocations: 4 kB / 0.6618 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/1.781, allocations: 7.922 kB / 0.6618 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/1.783, allocations: 2.189 MB / 0.6639 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.783, allocations: 0 / 0.6639 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/1.784, allocations: 95.91 kB / 0.664 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006842/1.784, allocations: 242.4 kB / 0.6642 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/1.784, allocations: 16 kB / 0.6642 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008955/1.785, allocations: 1.326 MB / 0.6655 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.785, allocations: 8.031 kB / 0.6655 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/1.786, allocations: 0.9688 MB / 0.6665 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/1.786, allocations: 188 kB / 0.6667 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-05/1.787, allocations: 35.59 kB / 0.6667 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/1.787, allocations: 16 kB / 0.6667 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/1.787, allocations: 44.53 kB / 0.6668 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/1.787, allocations: 16 kB / 0.6668 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004148/1.787, allocations: 426.8 kB / 0.6672 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.787, allocations: 0 / 0.6672 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002083/1.789, allocations: 0.9916 MB / 0.6682 GB, free: 12.92 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.003/1.792, allocations: 1.164 MB / 0.6693 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001621/1.794, allocations: 1.034 MB / 0.6703 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.794, allocations: 0 / 0.6703 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005156/1.795, allocations: 412.8 kB / 0.6707 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/1.796, allocations: 454.1 kB / 0.6711 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/1.798, allocations: 1.48 MB / 0.6726 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/1.799, allocations: 0.9868 MB / 0.6735 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/1.799, allocations: 47.44 kB / 0.6736 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/1.799, allocations: 0 / 0.6736 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.1595/1.958, allocations: 31.84 MB / 0.7047 GB, free: 225.7 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)