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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001355/0.001355, allocations: 98.03 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.007869/0.007869, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.186/1.186, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.958/1.958, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.000255, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4755, allocations: 142.4 MB / 0.9552 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.0391/0.5147, allocations: 52.11 MB / 1.006 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01242/0.5271, allocations: 11.42 MB / 1.017 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008537/0.528, allocations: 51.62 kB / 1.017 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.5292, allocations: 0.6293 MB / 1.018 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.5324, allocations: 1.999 MB / 1.02 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.5346, allocations: 1.25 MB / 1.021 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003683/0.5382, allocations: 5.053 MB / 1.026 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.5393, allocations: 1.053 MB / 1.027 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.5405, allocations: 1.159 MB / 1.028 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008786/0.5414, allocations: 1.046 MB / 1.029 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.5415, allocations: 56 kB / 1.029 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.5429, allocations: 0.9275 MB / 1.03 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.5432, allocations: 354.5 kB / 1.03 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005494/0.5438, allocations: 0.7787 MB / 1.031 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.5456, allocations: 2.457 MB / 1.034 GB, free: 14.74 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.5456, allocations: 0 / 1.034 GB, free: 14.74 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5457, allocations: 4 kB / 1.034 GB, free: 14.73 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.5457, allocations: 0 / 1.034 GB, free: 14.73 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.002402/0.5481, allocations: 1.728 MB / 1.035 GB, free: 12.96 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.5481, allocations: 15.97 kB / 1.035 GB, free: 12.94 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.5483, allocations: 147.8 kB / 1.035 GB, free: 12.79 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.5513, allocations: 0.6194 MB / 1.036 GB, free: 12.17 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.5529, allocations: 1.364 MB / 1.037 GB, free: 10.75 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.553, allocations: 119.7 kB / 1.038 GB, free: 10.62 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.5532, allocations: 95.94 kB / 1.038 GB, free: 10.53 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.5556, allocations: 1.389 MB / 1.039 GB, free: 9.109 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.5557, allocations: 0 / 1.039 GB, free: 9.109 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.41e-05/0.5558, allocations: 43.98 kB / 1.039 GB, free: 9.066 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.5558, allocations: 28 kB / 1.039 GB, free: 9.039 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003311/0.5591, allocations: 1.499 MB / 1.04 GB, free: 7.535 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.006117/0.5653, allocations: 5.401 MB / 1.046 GB, free: 1.887 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.5678, allocations: 1.119 MB / 1.047 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.5692, allocations: 0.6407 MB / 1.047 GB, free: 124 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005913/0.5698, allocations: 1.073 MB / 1.049 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00156/0.5714, allocations: 0.7134 MB / 1.049 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 1.673e-06/0.5714, allocations: 0 / 1.049 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.004398/0.5758, allocations: 1.863 MB / 1.051 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.5759, allocations: 59.97 kB / 1.051 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.5773, allocations: 1.394 MB / 1.052 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.5773, allocations: 41.7 kB / 1.053 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.5778, allocations: 0.6463 MB / 1.053 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.5779, allocations: 212.9 kB / 1.053 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.343e-05/0.578, allocations: 65.69 kB / 1.053 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.5781, allocations: 341.9 kB / 1.054 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.5796, allocations: 0.5875 MB / 1.054 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.5811, allocations: 0.7926 MB / 1.055 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/0.5839, allocations: 1.252 MB / 1.056 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5839, allocations: 8 kB / 1.056 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003236/0.5872, allocations: 1.506 MB / 1.058 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.5872, allocations: 12.38 kB / 1.058 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5872, allocations: 8 kB / 1.058 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.5872, allocations: 8 kB / 1.058 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.5883, allocations: 267.6 kB / 1.058 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.5884, allocations: 15.92 kB / 1.058 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.5896, allocations: 238.8 kB / 1.058 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/0.5897, allocations: 39.98 kB / 1.058 GB, free: 4.531 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.0004173/0.5901, allocations: 351.5 kB / 1.059 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.5903, allocations: 154.1 kB / 1.059 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/0.5937, allocations: 1.489 MB / 1.06 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.5937, allocations: 8 kB / 1.06 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5937, allocations: 3.984 kB / 1.06 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002932/0.5966, allocations: 1.333 MB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004783/0.6014, allocations: 3.024 MB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.6014, allocations: 96 / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.6024, allocations: 231.8 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.6025, allocations: 8 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.106e-05/0.6025, allocations: 19.98 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.6025, allocations: 7.984 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6025, allocations: 11.88 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004717/0.6073, allocations: 2.328 MB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.6077, allocations: 370.8 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.6078, allocations: 16 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.609, allocations: 159.7 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.6091, allocations: 60.38 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.6092, allocations: 35.95 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001016/0.6102, allocations: 0.9869 MB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6102, allocations: 3.938 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009106/0.6111, allocations: 451.4 kB / 1.069 GB, free: 9.309 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.005543/0.6167, allocations: 3.213 MB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003027/0.6197, allocations: 1.348 MB / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6197, allocations: 4.375 kB / 1.074 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.6213, allocations: 0.6945 MB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/0.6245, allocations: 0.7251 MB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/0.6455, allocations: 13.95 MB / 1.089 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.6462, allocations: 1.225 MB / 1.09 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001016/0.6472, allocations: 303.1 kB / 1.09 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006905/0.6479, allocations: 0.5695 MB / 1.091 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.6479, allocations: 0 / 1.091 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.581/9.229, allocations: 41.35 MB / 1.131 GB, free: 9.863 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/9.229, allocations: 261.7 kB / 1.131 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.668/12.9, allocations: 1.625 kB / 1.131 GB, free: 9.598 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)