Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_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.0009908/0.0009908, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007327/0.007327, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.178/1.178, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.377/2.377, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 8.469 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2831, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.0431/0.3262, allocations: 52.12 MB / 1.11 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.3406, allocations: 11.42 MB / 1.121 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.3425, allocations: 51.62 kB / 1.121 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.3442, allocations: 0.6254 MB / 1.121 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004953/0.3492, allocations: 2.002 MB / 1.123 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.3521, allocations: 1.238 MB / 1.125 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005203/0.3573, allocations: 5.053 MB / 1.13 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.3587, allocations: 1.073 MB / 1.131 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.3607, allocations: 1.155 MB / 1.132 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.3619, allocations: 1.042 MB / 1.133 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.362, allocations: 56 kB / 1.133 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.3637, allocations: 0.9314 MB / 1.134 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.3639, allocations: 354.5 kB / 1.134 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006309/0.3646, allocations: 0.7787 MB / 1.135 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.3666, allocations: 2.449 MB / 1.137 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3666, allocations: 4 kB / 1.137 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3666, allocations: 0 / 1.137 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.3666, allocations: 4 kB / 1.137 GB, free: 4.246 MB / 0.8887 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.002587/0.3692, allocations: 1.722 MB / 1.139 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3693, allocations: 23.95 kB / 1.139 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.3694, allocations: 143.8 kB / 1.139 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/0.3726, allocations: 0.6233 MB / 1.14 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.3743, allocations: 1.364 MB / 1.141 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.3744, allocations: 119.7 kB / 1.141 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.3745, allocations: 92 kB / 1.141 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.3771, allocations: 1.389 MB / 1.143 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.3772, allocations: 7.938 kB / 1.143 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.492e-05/0.3773, allocations: 39.94 kB / 1.143 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.3773, allocations: 27.94 kB / 1.143 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/0.3807, allocations: 1.503 MB / 1.144 GB, free: 13.04 MB / 0.9044 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.0063/0.387, allocations: 5.405 MB / 1.149 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.3897, allocations: 1.116 MB / 1.15 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.3912, allocations: 0.6388 MB / 1.151 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006093/0.3918, allocations: 1.073 MB / 1.152 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001615/0.3934, allocations: 0.7135 MB / 1.153 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 3.637e-06/0.3934, allocations: 0 / 1.153 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.004568/0.398, allocations: 1.863 MB / 1.155 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.3981, allocations: 63.91 kB / 1.155 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.3995, allocations: 1.394 MB / 1.156 GB, free: 240 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/0.3996, allocations: 41.7 kB / 1.156 GB, free: 192 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/0.4001, allocations: 0.6462 MB / 1.157 GB, free: 15.53 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.4002, allocations: 213 kB / 1.157 GB, free: 15.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.4003, allocations: 65.67 kB / 1.157 GB, free: 15.25 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.4004, allocations: 334 kB / 1.157 GB, free: 14.92 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.4019, allocations: 0.5875 MB / 1.158 GB, free: 14.33 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.4035, allocations: 0.7926 MB / 1.159 GB, free: 13.46 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/0.4064, allocations: 1.267 MB / 1.16 GB, free: 12.12 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.4064, allocations: 0 / 1.16 GB, free: 12.12 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003395/0.4098, allocations: 1.507 MB / 1.161 GB, free: 10.61 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4098, allocations: 12.03 kB / 1.161 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4098, allocations: 4 kB / 1.161 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4099, allocations: 8 kB / 1.161 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.411, allocations: 271.6 kB / 1.162 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.411, allocations: 8 kB / 1.162 GB, free: 10.31 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.4123, allocations: 234.9 kB / 1.162 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.034e-05/0.4124, allocations: 43.97 kB / 1.162 GB, free: 10.04 MB / 0.92 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.0004247/0.4129, allocations: 351.1 kB / 1.162 GB, free: 9.684 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.413, allocations: 154.2 kB / 1.162 GB, free: 9.531 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/0.4165, allocations: 1.481 MB / 1.164 GB, free: 8.043 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.4165, allocations: 15.98 kB / 1.164 GB, free: 8.027 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4166, allocations: 0 / 1.164 GB, free: 8.027 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003095/0.4197, allocations: 1.333 MB / 1.165 GB, free: 6.664 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004998/0.4247, allocations: 3.027 MB / 1.168 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4247, allocations: 3.938 kB / 1.168 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.4257, allocations: 235.9 kB / 1.168 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.4258, allocations: 4 kB / 1.168 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/0.4258, allocations: 23.97 kB / 1.168 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.4258, allocations: 4 kB / 1.168 GB, free: 3.281 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.4258, allocations: 7.938 kB / 1.168 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004961/0.4308, allocations: 2.34 MB / 1.171 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004318/0.4312, allocations: 374.8 kB / 1.171 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.4314, allocations: 15.98 kB / 1.171 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.4326, allocations: 150.3 kB / 1.171 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.4327, allocations: 60.36 kB / 1.171 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/0.4328, allocations: 35.97 kB / 1.171 GB, free: 256 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001076/0.4339, allocations: 0.9831 MB / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4339, allocations: 0 / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009678/0.4349, allocations: 459.3 kB / 1.173 GB, free: 14.82 MB / 0.9356 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.005881/0.4408, allocations: 3.21 MB / 1.176 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003132/0.4439, allocations: 1.352 MB / 1.177 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4439, allocations: 4.125 kB / 1.177 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.4455, allocations: 0.6906 MB / 1.178 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/0.4488, allocations: 0.7442 MB / 1.179 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/0.4705, allocations: 13.93 MB / 1.192 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.4712, allocations: 1.225 MB / 1.193 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001056/0.4722, allocations: 302.7 kB / 1.194 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007256/0.473, allocations: 0.5734 MB / 1.194 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of SimCode: time 2.505e-06/0.473, allocations: 0 / 1.194 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.467/2.94, allocations: 41.35 MB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/2.94, allocations: 258.8 kB / 1.235 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.069/6.009, allocations: 0 / 1.235 GB, free: 15.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)