Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_10_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.005703/0.005703, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001657/0.001657, allocations: 187.5 kB / 16.67 MB, free: 5.465 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.285/2.285, allocations: 437.1 MB / 0.7106 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2306, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04707/0.2777, allocations: 53.46 MB / 1.218 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.2913, allocations: 11.5 MB / 1.23 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007773/0.2921, allocations: 59.62 kB / 1.23 GB, free: 6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.2935, allocations: 0.7684 MB / 1.23 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003499/0.297, allocations: 2.161 MB / 1.233 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.2993, allocations: 1.375 MB / 1.234 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003481/0.3028, allocations: 3.937 MB / 1.238 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.3041, allocations: 1.279 MB / 1.239 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.3061, allocations: 1.4 MB / 1.24 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.3072, allocations: 1.085 MB / 1.241 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.3074, allocations: 140 kB / 1.242 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.3091, allocations: 1.049 MB / 1.243 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003622/0.3094, allocations: 438.5 kB / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007061/0.3101, allocations: 0.8552 MB / 1.244 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.3127, allocations: 2.588 MB / 1.246 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.3128, allocations: 0 / 1.246 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3128, allocations: 0 / 1.246 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.3128, allocations: 0 / 1.246 GB, free: 4.871 MB / 0.9981 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.002865/0.3156, allocations: 2.075 MB / 1.248 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.3157, allocations: 11.97 kB / 1.248 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.3158, allocations: 147.8 kB / 1.249 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/0.3189, allocations: 0.5813 MB / 1.249 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.3208, allocations: 1.408 MB / 1.25 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.3209, allocations: 119.7 kB / 1.251 GB, free: 420 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.321, allocations: 92 kB / 1.251 GB, free: 328 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.402/0.7231, allocations: 1.353 MB / 1.252 GB, free: 82.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.7231, allocations: 0.8125 kB / 1.252 GB, free: 82.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.501e-05/0.7232, allocations: 39.34 kB / 1.252 GB, free: 82.62 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.7232, allocations: 23.91 kB / 1.252 GB, free: 82.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003323/0.7266, allocations: 1.427 MB / 1.253 GB, free: 82.61 MB / 0.9981 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.006212/0.7328, allocations: 5.354 MB / 1.259 GB, free: 79.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.7354, allocations: 1.076 MB / 1.26 GB, free: 79.17 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.7368, allocations: 0.6055 MB / 1.26 GB, free: 79 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004365/0.7372, allocations: 1.071 MB / 1.261 GB, free: 77.76 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/0.7388, allocations: 0.6729 MB / 1.262 GB, free: 77.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 2.465e-06/0.7388, allocations: 1.031 kB / 1.262 GB, free: 77.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.00472/0.7435, allocations: 1.755 MB / 1.264 GB, free: 77.03 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.7436, allocations: 63 kB / 1.264 GB, free: 76.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.7453, allocations: 1.419 MB / 1.265 GB, free: 76.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/0.7453, allocations: 39.81 kB / 1.265 GB, free: 76.38 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.7457, allocations: 0.6516 MB / 1.266 GB, free: 75.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.7459, allocations: 216.1 kB / 1.266 GB, free: 75.76 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.7461, allocations: 176.2 kB / 1.266 GB, free: 75.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.7462, allocations: 333.2 kB / 1.267 GB, free: 75.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.7475, allocations: 0.549 MB / 1.267 GB, free: 75.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.749, allocations: 0.7581 MB / 1.268 GB, free: 74.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/0.7517, allocations: 1.195 MB / 1.269 GB, free: 74.35 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.7517, allocations: 1.281 kB / 1.269 GB, free: 74.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003138/0.7548, allocations: 1.44 MB / 1.27 GB, free: 73.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7549, allocations: 7.766 kB / 1.27 GB, free: 73.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.7549, allocations: 7.969 kB / 1.27 GB, free: 73.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.7549, allocations: 11.25 kB / 1.27 GB, free: 73.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.7559, allocations: 254.7 kB / 1.271 GB, free: 73.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.756, allocations: 11.16 kB / 1.271 GB, free: 73.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.7571, allocations: 197.1 kB / 1.271 GB, free: 73.78 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/0.7572, allocations: 42.27 kB / 1.271 GB, free: 73.77 MB / 0.9981 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.0003452/0.7575, allocations: 356 kB / 1.271 GB, free: 73.53 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.7577, allocations: 152.8 kB / 1.271 GB, free: 73.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.7609, allocations: 1.416 MB / 1.273 GB, free: 72.99 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.761, allocations: 6.953 kB / 1.273 GB, free: 72.99 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.761, allocations: 2.203 kB / 1.273 GB, free: 72.99 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002801/0.7638, allocations: 1.264 MB / 1.274 GB, free: 72.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004618/0.7684, allocations: 2.97 MB / 1.277 GB, free: 71.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.7684, allocations: 2.75 kB / 1.277 GB, free: 71.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009816/0.7694, allocations: 206.4 kB / 1.277 GB, free: 71.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.7694, allocations: 4.438 kB / 1.277 GB, free: 71.22 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/0.7695, allocations: 23.91 kB / 1.277 GB, free: 71.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.7695, allocations: 5.844 kB / 1.277 GB, free: 71.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7695, allocations: 2.5 kB / 1.277 GB, free: 71.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004479/0.774, allocations: 2.238 MB / 1.279 GB, free: 70.31 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/0.7743, allocations: 367.1 kB / 1.28 GB, free: 70.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.7745, allocations: 14.84 kB / 1.28 GB, free: 70.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.7756, allocations: 116.7 kB / 1.28 GB, free: 70.04 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.7757, allocations: 53.67 kB / 1.28 GB, free: 70.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/0.7758, allocations: 34.31 kB / 1.28 GB, free: 70.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001013/0.7768, allocations: 0.997 MB / 1.281 GB, free: 69.63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.112e-06/0.7768, allocations: 0 / 1.281 GB, free: 69.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009249/0.7777, allocations: 473 kB / 1.281 GB, free: 69.57 MB / 0.9981 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.005332/0.7831, allocations: 3.114 MB / 1.284 GB, free: 68.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002963/0.786, allocations: 1.279 MB / 1.286 GB, free: 67.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7861, allocations: 5.562 kB / 1.286 GB, free: 67.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.7876, allocations: 0.6525 MB / 1.286 GB, free: 67.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.7903, allocations: 0.7744 MB / 1.287 GB, free: 67.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/0.807, allocations: 12.35 MB / 1.299 GB, free: 61.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.8076, allocations: 1.227 MB / 1.3 GB, free: 61.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009492/0.8086, allocations: 297.5 kB / 1.301 GB, free: 60.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006197/0.8092, allocations: 0.567 MB / 1.301 GB, free: 60.56 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/0.8092, allocations: 3.938 kB / 1.301 GB, free: 60.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.49/11.29, allocations: 42.58 MB / 1.343 GB, free: 27.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/25.11, allocations: 7.484 kB / 1.343 GB, free: 27.37 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)