Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",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.755/2.755, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.00135/0.00135, allocations: 186.7 kB / 371 MB, free: 10.87 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.208/2.208, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009637/0.0009634, allocations: 87.84 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006864/0.0006867, allocations: 15.75 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2233, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.07185/0.2952, allocations: 49.25 MB / 1.027 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02774/0.323, allocations: 10.69 MB / 1.037 GB, free: 192 kB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003427/0.3265, allocations: 51.62 kB / 1.037 GB, free: 140 kB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.3308, allocations: 0.5395 MB / 1.038 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007951/0.3387, allocations: 1.68 MB / 1.039 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005046/0.3438, allocations: 1.02 MB / 1.04 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008558/0.3524, allocations: 4.306 MB / 1.044 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/0.3551, allocations: 0.9349 MB / 1.045 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004161/0.3594, allocations: 1.135 MB / 1.046 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.3623, allocations: 0.9838 MB / 1.047 GB, free: 5.504 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004149/0.3627, allocations: 56 kB / 1.047 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003367/0.3661, allocations: 0.6041 MB / 1.048 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006457/0.3668, allocations: 338.6 kB / 1.048 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007659/0.3676, allocations: 336.9 kB / 1.049 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004215/0.3718, allocations: 1.847 MB / 1.05 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3719, allocations: 4 kB / 1.05 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3719, allocations: 0 / 1.05 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.275e-05/0.3719, allocations: 0 / 1.05 GB, free: 2.32 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005442/0.3774, allocations: 1.738 MB / 1.052 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.3775, allocations: 12.03 kB / 1.052 GB, free: 0.5156 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003914/0.3779, allocations: 151.6 kB / 1.052 GB, free: 368 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006078/0.384, allocations: 0.6223 MB / 1.053 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003983/0.388, allocations: 1.298 MB / 1.054 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.3883, allocations: 115.7 kB / 1.054 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/0.3886, allocations: 99.91 kB / 1.054 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005778/0.3944, allocations: 1.397 MB / 1.056 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.3945, allocations: 0 / 1.056 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.3947, allocations: 36 kB / 1.056 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.835e-05/0.3948, allocations: 24 kB / 1.056 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007507/0.4023, allocations: 1.499 MB / 1.057 GB, free: 11.18 MB / 0.6823 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.01537/0.4177, allocations: 5.401 MB / 1.063 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006384/0.4242, allocations: 1.114 MB / 1.064 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003105/0.4273, allocations: 0.6353 MB / 1.064 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/0.4287, allocations: 1.073 MB / 1.065 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003334/0.432, allocations: 0.7057 MB / 1.066 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.737e-06/0.4321, allocations: 0 / 1.066 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.6699/1.102, allocations: 1.851 MB / 1.068 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/1.102, allocations: 59.31 kB / 1.068 GB, free: 90.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/1.106, allocations: 1.381 MB / 1.069 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002387/1.107, allocations: 38.67 kB / 1.069 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008304/1.108, allocations: 0.6379 MB / 1.07 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/1.108, allocations: 207.8 kB / 1.07 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.9e-05/1.108, allocations: 15.94 kB / 1.07 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.108, allocations: 333.8 kB / 1.07 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003259/1.112, allocations: 0.5876 MB / 1.071 GB, free: 88.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/1.115, allocations: 0.7928 MB / 1.072 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004317/1.119, allocations: 0.5859 MB / 1.072 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.586e-05/1.119, allocations: 5.812 kB / 1.072 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.01259/1.132, allocations: 1.503 MB / 1.074 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/1.132, allocations: 6.688 kB / 1.074 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/1.132, allocations: 4.781 kB / 1.074 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.444e-05/1.132, allocations: 9.344 kB / 1.074 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003701/1.136, allocations: 271.1 kB / 1.074 GB, free: 87.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.459e-05/1.136, allocations: 12.97 kB / 1.074 GB, free: 87.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/1.141, allocations: 235.2 kB / 1.074 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004185/1.141, allocations: 42.38 kB / 1.074 GB, free: 87.82 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.y,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00168/1.143, allocations: 359.4 kB / 1.075 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007301/1.144, allocations: 143.8 kB / 1.075 GB, free: 87.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.155, allocations: 1.481 MB / 1.076 GB, free: 87.08 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.129e-05/1.155, allocations: 8.531 kB / 1.076 GB, free: 87.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.155, allocations: 0 / 1.076 GB, free: 87.08 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009491/1.164, allocations: 1.331 MB / 1.078 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/1.181, allocations: 3.019 MB / 1.081 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/1.181, allocations: 5.859 kB / 1.081 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003138/1.184, allocations: 222.6 kB / 1.081 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.719e-05/1.184, allocations: 6.922 kB / 1.081 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002998/1.184, allocations: 26.62 kB / 1.081 GB, free: 85.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-05/1.184, allocations: 7.625 kB / 1.081 GB, free: 85.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/1.184, allocations: 2.844 kB / 1.081 GB, free: 85.31 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/1.2, allocations: 2.329 MB / 1.083 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/1.202, allocations: 379.8 kB / 1.083 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006255/1.203, allocations: 13.3 kB / 1.083 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003778/1.207, allocations: 152.9 kB / 1.084 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003441/1.207, allocations: 53.61 kB / 1.084 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002666/1.207, allocations: 39.44 kB / 1.084 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003435/1.211, allocations: 0.9619 MB / 1.085 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.343e-06/1.211, allocations: 4.938 kB / 1.085 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003333/1.214, allocations: 453.9 kB / 1.085 GB, free: 83.65 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01634/1.231, allocations: 3.191 MB / 1.088 GB, free: 82.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009675/1.24, allocations: 1.337 MB / 1.089 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/1.24, allocations: 1 kB / 1.089 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004979/1.245, allocations: 0.6876 MB / 1.09 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009893/1.255, allocations: 0.7284 MB / 1.091 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0537/1.309, allocations: 10.12 MB / 1.101 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002208/1.311, allocations: 1.22 MB / 1.102 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004221/1.316, allocations: 312.2 kB / 1.102 GB, free: 75.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002252/1.318, allocations: 0.5558 MB / 1.103 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of SimCode: time 1.161e-05/1.318, allocations: 0 / 1.103 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1399/1.458, allocations: 40.99 MB / 1.143 GB, free: 42.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/1.458, allocations: 238.4 kB / 1.143 GB, free: 42.33 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.188/5.646, allocations: 0 / 1.143 GB, free: 42.33 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)