Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.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.TestStaticExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8395/0.8395, allocations: 150.9 MB / 166 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002975, allocations: 15.98 kB / 204 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1629, allocations: 31.32 MB / 235.4 MB, free: 5.441 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.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff): time 1.532/1.694, allocations: 293.9 MB / 0.5168 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4902/2.185, allocations: 189.6 MB / 0.702 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007975/2.186, allocations: 13.31 kB / 0.702 GB, free: 3.723 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceQ.mo:62:3-63: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceQ.mo:62:3-63: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticExchangerDTorWorEff.mo:73:3-74:65: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/StaticExchangerDTorWorEff.mo:75:3-76:67: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/StaticExchangerDTorWorEff.mo:77:3-78:64: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/StaticExchangerDTorWorEff.mo:79:3-80:63:writable] Warning: Connector Sc 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.0004276/2.186, allocations: 58.92 kB / 0.7021 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/2.187, allocations: 207.3 kB / 0.7023 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03534/2.222, allocations: 8.94 MB / 0.711 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001756/2.224, allocations: 0.7649 MB / 0.7118 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007272/2.225, allocations: 395.8 kB / 0.7121 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005721/2.226, allocations: 292.1 kB / 0.7124 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/2.226, allocations: 347 kB / 0.7127 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/2.226, allocations: 53.83 kB / 0.7128 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03893/2.265, allocations: 20.29 MB / 0.7326 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003055/2.266, allocations: 140.4 kB / 0.7327 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006494/2.266, allocations: 365.5 kB / 0.7331 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02867/2.295, allocations: 10.46 MB / 0.7433 GB, free: 132 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/2.295, allocations: 0 / 0.7433 GB, free: 132 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.514e-06/2.295, allocations: 1.875 kB / 0.7433 GB, free: 132 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.118e-05/2.295, allocations: 1.203 kB / 0.7433 GB, free: 132 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006487/2.301, allocations: 2.117 MB / 0.7454 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/2.301, allocations: 8.438 kB / 0.7454 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/2.302, allocations: 84.91 kB / 0.7455 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/2.302, allocations: 430.2 kB / 0.7459 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/2.302, allocations: 53.59 kB / 0.7459 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/2.302, allocations: 67.05 kB / 0.746 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/2.303, allocations: 0.6988 MB / 0.7467 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/2.303, allocations: 0 / 0.7467 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/2.303, allocations: 28.09 kB / 0.7467 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/2.303, allocations: 16.47 kB / 0.7467 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000808/2.304, allocations: 0.5224 MB / 0.7472 GB, free: 14.13 MB / 0.5919 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.002965/2.307, allocations: 3.146 MB / 0.7503 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/2.308, allocations: 230.5 kB / 0.7505 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/2.308, allocations: 108.5 kB / 0.7506 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3577/2.666, allocations: 182.6 MB / 0.9289 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/2.666, allocations: 32.56 kB / 0.929 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.284e-06/2.666, allocations: 0 / 0.929 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.002569/2.668, allocations: 0.736 MB / 0.9297 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/2.668, allocations: 55.41 kB / 0.9297 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006112/2.669, allocations: 499.1 kB / 0.9302 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/2.669, allocations: 29.45 kB / 0.9302 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/2.669, allocations: 363.3 kB / 0.9306 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/2.669, allocations: 93.53 kB / 0.9307 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/2.669, allocations: 101.9 kB / 0.9308 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001482/2.67, allocations: 360.2 kB / 0.9311 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/2.67, allocations: 97.7 kB / 0.9312 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/2.67, allocations: 267.8 kB / 0.9315 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/2.671, allocations: 404.1 kB / 0.9318 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/2.671, allocations: 4 kB / 0.9319 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008894/2.672, allocations: 0.4969 MB / 0.9323 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/2.672, allocations: 8 kB / 0.9323 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/2.672, allocations: 13.08 kB / 0.9324 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/2.674, allocations: 374.6 kB / 0.9327 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/2.674, allocations: 64.86 kB / 0.9328 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007533/2.675, allocations: 0.7629 MB / 0.9335 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/2.675, allocations: 71.2 kB / 0.9336 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/2.675, allocations: 22.25 kB / 0.9336 GB, free: 8.082 MB / 0.7794 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 (sourceWaterSteam_FF.C.ftype,sourceWaterSteam_FC.C.ftype,sinkWaterSteam_FF.fluid,sinkWaterSteam_FC.fluid,exchangerWaterSteamDTorWorEFF.fluid_c,exchangerWaterSteamDTorWorEFF.fluid_f,sourceWaterSteam_FC.fluid1,sourceWaterSteam_FF.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002417/2.675, allocations: 180.5 kB / 0.9338 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/2.675, allocations: 58.25 kB / 0.9338 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/2.676, allocations: 0.4998 MB / 0.9343 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/2.677, allocations: 6.906 kB / 0.9343 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/2.677, allocations: 5.141 kB / 0.9343 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/2.677, allocations: 3.984 kB / 0.9343 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/2.679, allocations: 1.05 MB / 0.9354 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/2.679, allocations: 4 kB / 0.9354 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/2.679, allocations: 8 kB / 0.9354 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/2.68, allocations: 320.8 kB / 0.9357 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/2.68, allocations: 6.875 kB / 0.9357 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007245/2.681, allocations: 0.768 MB / 0.9364 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/2.681, allocations: 0 / 0.9364 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009314/2.682, allocations: 488.4 kB / 0.9369 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/2.682, allocations: 153.8 kB / 0.9371 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.182e-05/2.682, allocations: 8.078 kB / 0.9371 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/2.682, allocations: 11.11 kB / 0.9371 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/2.682, allocations: 18.05 kB / 0.9371 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/2.682, allocations: 11.5 kB / 0.9371 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004096/2.683, allocations: 367.5 kB / 0.9375 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/2.683, allocations: 0 / 0.9375 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00475/2.688, allocations: 1.554 MB / 0.939 GB, free: 3.285 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00868/2.696, allocations: 2.344 MB / 0.9413 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008158/2.697, allocations: 284.1 kB / 0.9415 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/2.697, allocations: 0 / 0.9415 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/2.697, allocations: 115.6 kB / 0.9416 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008588/2.698, allocations: 137.2 kB / 0.9418 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/2.7, allocations: 1.089 MB / 0.9428 GB, free: 15.85 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/2.701, allocations: 0.8745 MB / 0.9437 GB, free: 14.95 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002828/2.701, allocations: 80.47 kB / 0.9438 GB, free: 14.87 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/2.701, allocations: 36.53 kB / 0.9438 GB, free: 14.84 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/2.701, allocations: 0 / 0.9438 GB, free: 14.84 MB / 0.795 GB Notification: Performance of Templates: time 0.243/2.944, allocations: 50.01 MB / 0.9926 GB, free: 454.7 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe 2>&1)