Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 195.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.2 MB / 0.6647 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 71.89 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.544, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04545/0.5895, allocations: 53.45 MB / 1.002 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0146/0.6041, allocations: 11.51 MB / 1.013 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.6056, allocations: 59.69 kB / 1.013 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.6072, allocations: 0.7567 MB / 1.014 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004153/0.6114, allocations: 2.161 MB / 1.016 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.6141, allocations: 1.361 MB / 1.017 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00354/0.6176, allocations: 3.926 MB / 1.021 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.619, allocations: 1.279 MB / 1.022 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.6212, allocations: 1.396 MB / 1.024 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.6222, allocations: 1.085 MB / 1.025 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.6224, allocations: 136 kB / 1.025 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.6243, allocations: 1.045 MB / 1.026 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000347/0.6246, allocations: 442.5 kB / 1.026 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000699/0.6253, allocations: 0.8512 MB / 1.027 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00251/0.6279, allocations: 2.547 MB / 1.03 GB, free: 15.54 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6279, allocations: 0 / 1.03 GB, free: 15.54 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6279, allocations: 0 / 1.03 GB, free: 15.54 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.6279, allocations: 0 / 1.03 GB, free: 15.54 MB / 0.795 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.002962/0.6309, allocations: 2.022 MB / 1.032 GB, free: 13.47 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.6309, allocations: 12.03 kB / 1.032 GB, free: 13.46 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.6311, allocations: 147.8 kB / 1.032 GB, free: 13.3 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/0.6344, allocations: 0.5686 MB / 1.032 GB, free: 12.73 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.6362, allocations: 1.328 MB / 1.034 GB, free: 11.36 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.6363, allocations: 123.7 kB / 1.034 GB, free: 11.23 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.6365, allocations: 92 kB / 1.034 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002726/0.6392, allocations: 1.358 MB / 1.035 GB, free: 9.746 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.6393, allocations: 7.984 kB / 1.035 GB, free: 9.738 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.6394, allocations: 36 kB / 1.035 GB, free: 9.703 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.6394, allocations: 24 kB / 1.035 GB, free: 9.68 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/0.643, allocations: 1.432 MB / 1.037 GB, free: 8.242 MB / 0.795 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.006928/0.65, allocations: 5.405 MB / 1.042 GB, free: 2.59 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/0.6528, allocations: 1.068 MB / 1.043 GB, free: 1.516 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.6544, allocations: 0.5969 MB / 1.044 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007167/0.6551, allocations: 1.073 MB / 1.045 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001721/0.6568, allocations: 0.6783 MB / 1.045 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 2.104e-06/0.6568, allocations: 0 / 1.045 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.004908/0.6617, allocations: 1.75 MB / 1.047 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.6618, allocations: 55.97 kB / 1.047 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.6634, allocations: 1.413 MB / 1.049 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.064e-05/0.6635, allocations: 45.64 kB / 1.049 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005021/0.664, allocations: 0.6462 MB / 1.049 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.6642, allocations: 209 kB / 1.049 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.6644, allocations: 162.5 kB / 1.05 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6645, allocations: 341.9 kB / 1.05 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.6661, allocations: 0.5484 MB / 1.05 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.6678, allocations: 0.7536 MB / 1.051 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.6709, allocations: 1.193 MB / 1.052 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6709, allocations: 0 / 1.052 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003622/0.6746, allocations: 1.44 MB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.6746, allocations: 4 kB / 1.054 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6746, allocations: 4 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.6746, allocations: 12 kB / 1.054 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.6759, allocations: 251.9 kB / 1.054 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.6759, allocations: 8 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.6773, allocations: 194.8 kB / 1.054 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.215e-05/0.6774, allocations: 43.97 kB / 1.054 GB, free: 5.648 MB / 0.8106 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.pulseStart,$PRE.onOff.pulseStart,onOff.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004726/0.6779, allocations: 355.5 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.6781, allocations: 146.2 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.6818, allocations: 1.407 MB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.6818, allocations: 16 kB / 1.056 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6819, allocations: 3.938 kB / 1.056 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003247/0.6851, allocations: 1.259 MB / 1.057 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005604/0.6907, allocations: 2.958 MB / 1.06 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.6907, allocations: 7.969 kB / 1.06 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.6919, allocations: 203.7 kB / 1.06 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/0.6919, allocations: 4 kB / 1.06 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/0.692, allocations: 35.84 kB / 1.06 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.692, allocations: 4 kB / 1.06 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.692, allocations: 3.938 kB / 1.06 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005405/0.6974, allocations: 2.227 MB / 1.063 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/0.698, allocations: 355 kB / 1.063 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.6982, allocations: 12 kB / 1.063 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.6995, allocations: 119.9 kB / 1.063 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.6996, allocations: 48.44 kB / 1.063 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.464e-05/0.6997, allocations: 43.95 kB / 1.063 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001354/0.7011, allocations: 0.9908 MB / 1.064 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7011, allocations: 0 / 1.064 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001249/0.7023, allocations: 463.3 kB / 1.065 GB, free: 10.82 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006353/0.7087, allocations: 3.136 MB / 1.068 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003776/0.7125, allocations: 1.328 MB / 1.069 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7125, allocations: 4 kB / 1.069 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.7143, allocations: 0.6558 MB / 1.07 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/0.7178, allocations: 0.7591 MB / 1.07 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/0.7396, allocations: 13.3 MB / 1.083 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008408/0.7405, allocations: 1.225 MB / 1.085 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001381/0.7419, allocations: 308.5 kB / 1.085 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008031/0.7427, allocations: 0.5617 MB / 1.085 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of SimCode: time 7.51e-07/0.7427, allocations: 4 kB / 1.085 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.356/2.099, allocations: 42.25 MB / 1.127 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/16.47, allocations: 19.73 kB / 1.127 GB, free: 11.16 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)