Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",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.0014/0.0014, allocations: 104 kB / 15.6 MB, free: 148 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.00167/0.00167, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.516/2.516, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 64.97 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2312, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.06691/0.2981, allocations: 74.74 MB / 1.126 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02599/0.3241, allocations: 21.5 MB / 1.147 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.3264, allocations: 103.4 kB / 1.147 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.007408/0.3338, allocations: 4.587 MB / 1.151 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0061/0.34, allocations: 3.079 MB / 1.154 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.3442, allocations: 2.169 MB / 1.157 GB, free: 13.75 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008375/0.3526, allocations: 7.967 MB / 1.164 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.3551, allocations: 1.993 MB / 1.166 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003762/0.3589, allocations: 2.136 MB / 1.168 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.3609, allocations: 1.555 MB / 1.17 GB, free: 36 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004868/0.3614, allocations: 212 kB / 1.17 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003492/0.3649, allocations: 1.996 MB / 1.172 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008044/0.3657, allocations: 0.7787 MB / 1.173 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.3674, allocations: 1.395 MB / 1.174 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004876/0.3723, allocations: 4.362 MB / 1.178 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3723, allocations: 0 / 1.178 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.123e-06/0.3723, allocations: 0 / 1.178 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.974e-05/0.3724, allocations: 0 / 1.178 GB, free: 7.27 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.005645/0.3781, allocations: 3.194 MB / 1.182 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.3781, allocations: 12.62 kB / 1.182 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002433/0.3784, allocations: 185.9 kB / 1.182 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006347/0.3847, allocations: 1.144 MB / 1.183 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004373/0.3891, allocations: 2.885 MB / 1.186 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009799/0.3901, allocations: 315.9 kB / 1.186 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.3903, allocations: 132 kB / 1.186 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004124/0.3944, allocations: 1.94 MB / 1.188 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.3945, allocations: 3.938 kB / 1.188 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.3946, allocations: 52 kB / 1.188 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.3946, allocations: 32 kB / 1.188 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005672/0.4003, allocations: 2.09 MB / 1.19 GB, free: 11.05 MB / 0.9512 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.0117/0.412, allocations: 8.565 MB / 1.198 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004999/0.417, allocations: 1.673 MB / 1.2 GB, free: 348 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002117/0.4192, allocations: 0.7442 MB / 1.201 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004572/0.4237, allocations: 3.836 MB / 1.205 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4238, allocations: 47.05 kB / 1.205 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005552/0.4243, allocations: 118.7 kB / 1.205 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=57): time 1.953e-06/0.4244, allocations: 0 / 1.205 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57): time 0.01232/0.4367, allocations: 3.093 MB / 1.208 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.4367, allocations: 55.97 kB / 1.208 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/0.4399, allocations: 2.649 MB / 1.21 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.44, allocations: 41.7 kB / 1.21 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008272/0.4408, allocations: 1.107 MB / 1.212 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.441, allocations: 213.1 kB / 1.212 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004686/0.4415, allocations: 338.4 kB / 1.212 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.4416, allocations: 305.1 kB / 1.212 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/0.444, allocations: 0.9322 MB / 1.213 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00268/0.4466, allocations: 1.359 MB / 1.215 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004562/0.4512, allocations: 2.03 MB / 1.217 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.4512, allocations: 7.938 kB / 1.217 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.006892/0.4581, allocations: 2.763 MB / 1.219 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.4582, allocations: 8 kB / 1.219 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.4582, allocations: 12 kB / 1.219 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.4594, allocations: 0.5204 MB / 1.22 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.461, allocations: 383.4 kB / 1.22 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.4631, allocations: 1.114 MB / 1.221 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.4651, allocations: 240.1 kB / 1.221 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.4653, allocations: 71.95 kB / 1.222 GB, free: 9.609 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007012/0.466, allocations: 0.552 MB / 1.222 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/0.4663, allocations: 237 kB / 1.222 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006119/0.4724, allocations: 2.12 MB / 1.224 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.4725, allocations: 12 kB / 1.224 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4725, allocations: 0 / 1.224 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4725, allocations: 3.984 kB / 1.224 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008392/0.4809, allocations: 4.122 MB / 1.228 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.4809, allocations: 8.062 kB / 1.228 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.482, allocations: 199.7 kB / 1.229 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.4831, allocations: 0.4965 MB / 1.229 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.4832, allocations: 23.97 kB / 1.229 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.4856, allocations: 1.11 MB / 1.23 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4856, allocations: 0 / 1.23 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006795/0.4924, allocations: 2.197 MB / 1.232 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007053/0.4931, allocations: 493.7 kB / 1.233 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.4934, allocations: 16 kB / 1.233 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/0.4952, allocations: 171.8 kB / 1.233 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.4953, allocations: 52.38 kB / 1.233 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.291e-05/0.4954, allocations: 39.95 kB / 1.233 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002537/0.4979, allocations: 1.827 MB / 1.235 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4979, allocations: 0 / 1.235 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00175/0.4997, allocations: 0.7489 MB / 1.236 GB, free: 10.96 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008292/0.508, allocations: 3.356 MB / 1.239 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005732/0.5137, allocations: 2.061 MB / 1.241 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5137, allocations: 0 / 1.241 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00277/0.5165, allocations: 0.8547 MB / 1.242 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004307/0.5208, allocations: 1.169 MB / 1.243 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3878/0.9087, allocations: 22.37 MB / 1.265 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.9101, allocations: 1.636 MB / 1.266 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002318/0.9124, allocations: 467.7 kB / 1.267 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/0.9137, allocations: 0.9867 MB / 1.268 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.9137, allocations: 0 / 1.268 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.127/3.041, allocations: 68.76 MB / 1.335 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.28/19.32, allocations: 9.906 kB / 1.335 GB, free: 128.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)