Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem.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.TestCHPEngineBarkantineSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9637/0.9637, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.233e-05/2.235e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2491, allocations: 31.97 MB / 236.8 MB, free: 5.293 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem): time 1.995/2.245, allocations: 300.1 MB / 0.5243 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.761/3.006, allocations: 194.4 MB / 0.7141 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/3.007, allocations: 27.5 kB / 0.7142 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005226/3.008, allocations: 182.4 kB / 0.7143 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002516/3.01, allocations: 0.6552 MB / 0.715 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04144/3.052, allocations: 11.23 MB / 0.7259 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005659/3.058, allocations: 2.899 MB / 0.7288 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/3.06, allocations: 1.308 MB / 0.73 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/3.062, allocations: 0.8826 MB / 0.7309 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/3.064, allocations: 1.036 MB / 0.7319 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002355/3.064, allocations: 112.8 kB / 0.732 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05412/3.118, allocations: 22.8 MB / 0.7543 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/3.119, allocations: 419.5 kB / 0.7547 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002365/3.122, allocations: 1.171 MB / 0.7558 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.04828/3.17, allocations: 14.42 MB / 0.7699 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/3.17, allocations: 3.312 kB / 0.7699 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.816e-06/3.17, allocations: 0 / 0.7699 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001422/3.17, allocations: 1.5 kB / 0.7699 GB, free: 10.83 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.0139/3.184, allocations: 3.538 MB / 0.7734 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/3.184, allocations: 15.56 kB / 0.7734 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/3.185, allocations: 287.6 kB / 0.7737 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/3.188, allocations: 1.142 MB / 0.7748 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/3.189, allocations: 176.7 kB / 0.775 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005404/3.189, allocations: 229.8 kB / 0.7752 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004946/3.194, allocations: 2.551 MB / 0.7777 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-05/3.194, allocations: 6.906 kB / 0.7777 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/3.194, allocations: 95 kB / 0.7778 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.885e-05/3.194, allocations: 63.98 kB / 0.7778 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004195/3.199, allocations: 2.224 MB / 0.78 GB, free: 5.555 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.1055/3.304, allocations: 51.53 MB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/3.306, allocations: 1.105 MB / 0.8314 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007794/3.307, allocations: 470.6 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148/4.455, allocations: 461.1 MB / 1.282 GB, free: 118 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/4.456, allocations: 45.25 kB / 1.282 GB, free: 117.9 MB / 0.795 GB Notification: Performance of pre-optimization done (n=98): time 3.647e-06/4.456, allocations: 0 / 1.282 GB, free: 117.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=98): time 0.01073/4.466, allocations: 3.257 MB / 1.285 GB, free: 115.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/4.466, allocations: 141.5 kB / 1.285 GB, free: 115.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/4.469, allocations: 1.542 MB / 1.287 GB, free: 114 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/4.469, allocations: 40.14 kB / 1.287 GB, free: 114 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006647/4.47, allocations: 0.9935 MB / 1.288 GB, free: 113.3 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/4.47, allocations: 365 kB / 1.288 GB, free: 113 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/4.47, allocations: 141.3 kB / 1.288 GB, free: 113 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 5.83e-05/4.47, allocations: 309.1 kB / 1.289 GB, free: 112.6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008291/4.471, allocations: 0.517 MB / 1.289 GB, free: 112.4 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/4.472, allocations: 0.912 MB / 1.29 GB, free: 111.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/4.474, allocations: 1.474 MB / 1.292 GB, free: 110.4 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/4.474, allocations: 4 kB / 1.292 GB, free: 110.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004791/4.479, allocations: 2.298 MB / 1.294 GB, free: 108.2 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/4.479, allocations: 12.78 kB / 1.294 GB, free: 108.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/4.479, allocations: 12.5 kB / 1.294 GB, free: 108.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006732/4.486, allocations: 1.463 MB / 1.295 GB, free: 106.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009046/4.487, allocations: 227.5 kB / 1.296 GB, free: 106.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/4.49, allocations: 4.719 MB / 1.3 GB, free: 101.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/4.491, allocations: 221.8 kB / 1.3 GB, free: 101.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/4.492, allocations: 71.98 kB / 1.3 GB, free: 101.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 25 (CHPBarkantine.AirSource.fluid1,CHPBarkantine.Engine.Cfg.ftype,SourceP1.C.ftype,CHPBarkantine.WaterSource.C.ftype,CHPBarkantine.Engine.fluid_ws,PuitsP1.fluid,CHPBarkantine.ExchangerWaterWater.fluid_c,CHPBarkantine.ExchangerWaterWater.fluid_f,CHPBarkantine.PDC1.fluid,CHPBarkantine.WaterSteamSink.fluid,CHPBarkantine.PDC2.fluid,CHPBarkantine.ExchangerWaterFlueGases.fluid_c,CHPBarkantine.ExchangerWaterFlueGases.fluid_f,CHPBarkantine.silencieux.fluid,CHPBarkantine.FlueGasesSink.fluid,CHPBarkantine.WaterSource.fluid1,SourceP1.fluid1,CHPBarkantine.AirSource.C.ftype,CHPBarkantine.Engine.fluids[1],CHPBarkantine.silencieux.C1.diff_on_2,CHPBarkantine.Engine.Cfg.diff_on_1,CHPBarkantine.ExchangerWaterFlueGases.Sc.diff_on_1,CHPBarkantine.Engine.Cws1.diff_on_2,CHPBarkantine.PDC1.C2.diff_on_1,CHPBarkantine.Engine.Cair.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 6 systems {(1,4), (1,4), (3,21), (1,3), (2,11), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001174/4.493, allocations: 457.3 kB / 1.301 GB, free: 100.8 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/4.493, allocations: 181.5 kB / 1.301 GB, free: 100.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004337/4.498, allocations: 1.845 MB / 1.303 GB, free: 98.79 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/4.498, allocations: 12 kB / 1.303 GB, free: 98.78 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/4.498, allocations: 0 / 1.303 GB, free: 98.78 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/4.498, allocations: 11.97 kB / 1.303 GB, free: 98.77 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006437/4.504, allocations: 3.523 MB / 1.306 GB, free: 95.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/4.504, allocations: 4.125 kB / 1.306 GB, free: 95.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/4.505, allocations: 83.91 kB / 1.306 GB, free: 95.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005424/4.51, allocations: 1.236 MB / 1.308 GB, free: 93.86 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/4.51, allocations: 31.98 kB / 1.308 GB, free: 93.83 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/4.513, allocations: 4.72 MB / 1.312 GB, free: 88.93 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/4.513, allocations: 2.812 kB / 1.312 GB, free: 88.93 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/4.516, allocations: 1.685 MB / 1.314 GB, free: 87.21 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00094/4.517, allocations: 450.4 kB / 1.314 GB, free: 86.75 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/4.518, allocations: 20 kB / 1.314 GB, free: 86.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008582/4.519, allocations: 23.94 kB / 1.314 GB, free: 86.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/4.519, allocations: 68.84 kB / 1.314 GB, free: 86.64 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.335e-05/4.519, allocations: 39.98 kB / 1.314 GB, free: 86.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00162/4.52, allocations: 1.014 MB / 1.315 GB, free: 85.59 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.6e-07/4.52, allocations: 0 / 1.315 GB, free: 85.59 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007785/4.528, allocations: 2.25 MB / 1.318 GB, free: 83.53 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 6 systems {(1,4), (1,4), (3,26), (1,4), (1,3), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01189/4.54, allocations: 2.916 MB / 1.32 GB, free: 80.96 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003705/4.544, allocations: 1.347 MB / 1.322 GB, free: 79.61 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/4.544, allocations: 0 / 1.322 GB, free: 79.61 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/4.546, allocations: 0.6061 MB / 1.322 GB, free: 79.01 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/4.549, allocations: 412.1 kB / 1.323 GB, free: 78.63 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007702/4.557, allocations: 3.892 MB / 1.327 GB, free: 74.71 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/4.558, allocations: 1.38 MB / 1.328 GB, free: 73.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00146/4.56, allocations: 250.6 kB / 1.328 GB, free: 73.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/4.56, allocations: 99.42 kB / 1.328 GB, free: 73 MB / 0.795 GB Notification: Performance of SimCode: time 1.132e-06/4.56, allocations: 0 / 1.328 GB, free: 73 MB / 0.795 GB Notification: Performance of Templates: time 0.09183/4.652, allocations: 72.84 MB / 1.399 GB, free: 1.25 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem.pipe 2>&1) Environment - environmentSimulation: