Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.768/0.768, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 17.58 kB / 237.8 MB, free: 1.785 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05215/0.05248, allocations: 31.35 MB / 269.1 MB, free: 7.062 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.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser): time 1.545/1.597, allocations: 296.8 MB / 0.5526 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4732/2.071, allocations: 190 MB / 0.7382 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000599/2.071, allocations: 14.78 kB / 0.7382 GB, free: 15.71 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:65:3-66:55:writable] Warning: Connector Ec is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:67:3-68:54:writable] Warning: Connector Ef is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:69:3-70:51:writable] Warning: Connector Sf is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:71:3-72:53:writable] Warning: Connector Sc is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000636/2.072, allocations: 213 kB / 0.7384 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006374/2.073, allocations: 327.5 kB / 0.7387 GB, free: 15.7 MB / 0.6075 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp 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/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der 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.02743/2.1, allocations: 11.78 MB / 0.7502 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001168/2.101, allocations: 1.027 MB / 0.7512 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004895/2.102, allocations: 430.5 kB / 0.7516 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/2.102, allocations: 427.3 kB / 0.752 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/2.102, allocations: 379.6 kB / 0.7524 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/2.102, allocations: 67.78 kB / 0.7525 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03135/2.134, allocations: 20.11 MB / 0.7721 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002825/2.134, allocations: 164.4 kB / 0.7722 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006862/2.135, allocations: 450.5 kB / 0.7727 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02427/2.159, allocations: 10.34 MB / 0.7828 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/2.159, allocations: 3.375 kB / 0.7828 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/2.159, allocations: 2.719 kB / 0.7828 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.16e-05/2.159, allocations: 0 / 0.7828 GB, free: 8.285 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.005605/2.165, allocations: 2.185 MB / 0.7849 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/2.165, allocations: 10.84 kB / 0.7849 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/2.165, allocations: 98.12 kB / 0.785 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/2.166, allocations: 469.4 kB / 0.7855 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/2.166, allocations: 54.28 kB / 0.7855 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/2.166, allocations: 70.92 kB / 0.7856 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/2.167, allocations: 0.8243 MB / 0.7864 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/2.167, allocations: 2.344 kB / 0.7864 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/2.167, allocations: 25.91 kB / 0.7864 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/2.167, allocations: 40.44 kB / 0.7865 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007542/2.168, allocations: 0.5297 MB / 0.787 GB, free: 6.207 MB / 0.6075 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.01619/2.184, allocations: 12.38 MB / 0.7991 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/2.185, allocations: 278.8 kB / 0.7993 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/2.185, allocations: 199.8 kB / 0.7995 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09747/2.282, allocations: 54.19 MB / 0.8524 GB, free: 1.113 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/2.282, allocations: 38.73 kB / 0.8525 GB, free: 1.066 MB / 0.67 GB Notification: Performance of pre-optimization done (n=86): time 2.735e-06/2.282, allocations: 0 / 0.8525 GB, free: 1.066 MB / 0.67 GB Notification: Performance of matching and sorting (n=86): time 0.002059/2.285, allocations: 0.9545 MB / 0.8534 GB, free: 68 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/2.285, allocations: 55.41 kB / 0.8535 GB, free: 0 / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006435/2.285, allocations: 489.9 kB / 0.8539 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/2.285, allocations: 25.7 kB / 0.8539 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/2.286, allocations: 386.1 kB / 0.8543 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/2.286, allocations: 282.5 kB / 0.8546 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/2.286, allocations: 126 kB / 0.8547 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001513/2.286, allocations: 370.8 kB / 0.8551 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/2.286, allocations: 169.4 kB / 0.8552 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/2.287, allocations: 356.6 kB / 0.8556 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/2.287, allocations: 0.5967 MB / 0.8561 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/2.288, allocations: 0 / 0.8561 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001232/2.289, allocations: 0.7407 MB / 0.8569 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/2.289, allocations: 8 kB / 0.8569 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/2.289, allocations: 8 kB / 0.8569 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/2.29, allocations: 340.2 kB / 0.8572 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/2.291, allocations: 63.67 kB / 0.8573 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/2.292, allocations: 1.298 MB / 0.8585 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/2.292, allocations: 90.88 kB / 0.8586 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/2.292, allocations: 24 kB / 0.8586 GB, free: 10.51 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.ftype,sourceP.C.ftype,simpleStaticCondenser.fluid_c,simpleStaticCondenser.fluid_f,sinkP.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(2,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002886/2.292, allocations: 194.9 kB / 0.8588 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/2.293, allocations: 71.08 kB / 0.8589 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/2.295, allocations: 1.824 MB / 0.8607 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009779/2.295, allocations: 0.8096 MB / 0.8615 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/2.296, allocations: 3.844 kB / 0.8615 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/2.296, allocations: 7.922 kB / 0.8615 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/2.299, allocations: 2.166 MB / 0.8636 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/2.299, allocations: 3.984 kB / 0.8636 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/2.299, allocations: 93.03 kB / 0.8637 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007406/2.3, allocations: 241.5 kB / 0.8639 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/2.3, allocations: 12 kB / 0.8639 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009981/2.301, allocations: 1.341 MB / 0.8652 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/2.301, allocations: 2.688 kB / 0.8652 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/2.302, allocations: 0.9946 MB / 0.8662 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002732/2.302, allocations: 212.8 kB / 0.8664 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.689e-05/2.302, allocations: 15.94 kB / 0.8664 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/2.303, allocations: 16 kB / 0.8664 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/2.303, allocations: 40.59 kB / 0.8665 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/2.303, allocations: 16 kB / 0.8665 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004487/2.303, allocations: 398.8 kB / 0.8669 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/2.303, allocations: 0 / 0.8669 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004139/2.307, allocations: 1.502 MB / 0.8683 GB, free: 428 kB / 0.6856 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 {(2,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008184/2.315, allocations: 2.137 MB / 0.8704 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001508/2.317, allocations: 0.9508 MB / 0.8714 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/2.317, allocations: 0 / 0.8714 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005583/2.318, allocations: 399.8 kB / 0.8717 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/2.32, allocations: 425.2 kB / 0.8721 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/2.322, allocations: 1.651 MB / 0.8738 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/2.323, allocations: 1.051 MB / 0.8748 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/2.323, allocations: 67.42 kB / 0.8749 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of SimCode: time 6.61e-07/2.323, allocations: 0 / 0.8749 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of Templates: time 0.0537/2.377, allocations: 42.08 MB / 0.9159 GB, free: 15.93 MB / 0.7481 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)