Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.551/2.551, allocations: 284.9 MB / 292.4 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 180.8 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 98.38 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.244e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8204/0.8205, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.345/2.165, allocations: 452.7 MB / 1.405 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/2.166, allocations: 88.2 kB / 1.406 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.714/7.88, allocations: 1.092 GB / 2.497 GB, free: 126.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.934e-06/7.88, allocations: 0 / 2.497 GB, free: 126.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003534/7.88, allocations: 52.14 kB / 2.497 GB, free: 126.2 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.007609/7.888, allocations: 2.195 MB / 2.5 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/7.888, allocations: 6.75 kB / 2.5 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/7.899, allocations: 1.03 MB / 2.501 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/7.909, allocations: 2.624 MB / 2.503 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007734/7.91, allocations: 166.1 kB / 2.503 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004228/7.91, allocations: 77.69 kB / 2.503 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003831/7.914, allocations: 1.44 MB / 2.505 GB, free: 123 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/7.918, allocations: 1.469 MB / 2.506 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.541e-05/7.918, allocations: 2.062 kB / 2.506 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002197/7.918, allocations: 0 / 2.506 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/7.918, allocations: 32.97 kB / 2.506 GB, free: 122.3 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.0205/7.938, allocations: 7.886 MB / 2.514 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/7.941, allocations: 1.239 MB / 2.515 GB, free: 116.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/7.943, allocations: 0.5249 MB / 2.516 GB, free: 116.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007936/7.951, allocations: 3.458 MB / 2.519 GB, free: 114.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/7.951, allocations: 40.62 kB / 2.519 GB, free: 114.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001331/7.952, allocations: 193.3 kB / 2.519 GB, free: 114 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=62): time 4.278e-06/7.952, allocations: 0 / 2.519 GB, free: 114 MB / 0.9323 GB Notification: Performance of matching and sorting (n=62): time 0.00456/7.957, allocations: 1.325 MB / 2.521 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/7.957, allocations: 59.5 kB / 2.521 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/7.96, allocations: 1.439 MB / 2.522 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000339/7.96, allocations: 25.7 kB / 2.522 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009402/7.961, allocations: 0.9773 MB / 2.523 GB, free: 112 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000348/7.961, allocations: 207.9 kB / 2.523 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/7.962, allocations: 0 / 2.523 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/7.962, allocations: 344.3 kB / 2.524 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/7.963, allocations: 493.5 kB / 2.524 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/7.964, allocations: 0.8612 MB / 2.525 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/7.967, allocations: 0.6125 MB / 2.525 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/7.967, allocations: 0 / 2.525 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.006477/7.973, allocations: 1.679 MB / 2.527 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009083/7.974, allocations: 3.833 MB / 2.531 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/7.974, allocations: 11.5 kB / 2.531 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/7.976, allocations: 0.6343 MB / 2.531 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/7.979, allocations: 297.7 kB / 2.532 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/7.982, allocations: 1.225 MB / 2.533 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003735/7.985, allocations: 209.9 kB / 2.533 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003098/7.986, allocations: 76.66 kB / 2.533 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/7.986, allocations: 3.719 kB / 2.533 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004726/7.99, allocations: 1.393 MB / 2.535 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/7.991, allocations: 11.81 kB / 2.535 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/7.992, allocations: 0.6291 MB / 2.535 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/7.994, allocations: 282.3 kB / 2.535 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/7.997, allocations: 1.23 MB / 2.537 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/8.001, allocations: 192 kB / 2.537 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/8.001, allocations: 73.08 kB / 2.537 GB, free: 103.4 MB / 0.9323 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.Q2_flow:VARIABLE(unit = "W" ) "Heat flow rate into medium 2" type: Real pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004989/8.002, allocations: 152.8 kB / 2.537 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004288/8.006, allocations: 1.297 MB / 2.538 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005369/8.006, allocations: 181.3 kB / 2.539 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006385/8.013, allocations: 1.634 MB / 2.54 GB, free: 102 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/8.013, allocations: 7.875 kB / 2.54 GB, free: 102 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/8.013, allocations: 3.938 kB / 2.54 GB, free: 102 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/8.013, allocations: 3.75 kB / 2.54 GB, free: 102 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.008737/8.022, allocations: 3.13 MB / 2.543 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/8.022, allocations: 3.875 kB / 2.543 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/8.024, allocations: 190 kB / 2.543 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001377/8.025, allocations: 0.6132 MB / 2.544 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/8.025, allocations: 26.02 kB / 2.544 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/8.028, allocations: 1.191 MB / 2.545 GB, free: 99.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/8.028, allocations: 0 / 2.545 GB, free: 99.68 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/8.034, allocations: 1.687 MB / 2.547 GB, free: 98.83 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/8.036, allocations: 446.6 kB / 2.547 GB, free: 98.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003858/8.036, allocations: 2.875 kB / 2.547 GB, free: 98.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/8.039, allocations: 177.3 kB / 2.547 GB, free: 98.52 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/8.039, allocations: 57.78 kB / 2.547 GB, free: 98.51 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/8.04, allocations: 57.91 kB / 2.547 GB, free: 98.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002222/8.042, allocations: 1.097 MB / 2.549 GB, free: 98 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.31e-07/8.042, allocations: 2.594 kB / 2.549 GB, free: 98 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004988/8.047, allocations: 1.056 MB / 2.55 GB, free: 97.76 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.008657/8.056, allocations: 3.541 MB / 2.553 GB, free: 95.84 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00663/8.062, allocations: 1.976 MB / 2.555 GB, free: 95.17 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/8.062, allocations: 5.281 kB / 2.555 GB, free: 95.17 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002353/8.065, allocations: 0.6258 MB / 2.556 GB, free: 94.97 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005645/8.07, allocations: 0.7011 MB / 2.556 GB, free: 94.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009199/8.08, allocations: 2.916 MB / 2.559 GB, free: 93.59 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/8.081, allocations: 1.503 MB / 2.561 GB, free: 92.53 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004814/8.086, allocations: 0.6302 MB / 2.561 GB, free: 92.25 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/8.087, allocations: 0.763 MB / 2.562 GB, free: 91.57 MB / 0.9323 GB Notification: Performance of SimCode: time 1.052e-06/8.087, allocations: 0 / 2.562 GB, free: 91.57 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1597/8.247, allocations: 57.44 MB / 2.618 GB, free: 37.05 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/8.247, allocations: 200.9 kB / 2.618 GB, free: 36.85 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.109/13.36, allocations: 4 kB / 2.618 GB, free: 36.85 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)