Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_9_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.001034/0.001034, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.0009722/0.0009723, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.3 MB / 0.6653 GB, free: 3.035 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004799, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.8054, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.06824/0.8737, allocations: 62.28 MB / 1.014 GB, free: 1.758 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.0308/0.9045, allocations: 17.05 MB / 1.031 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00399/0.9086, allocations: 75.5 kB / 1.031 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004718/0.9133, allocations: 1.143 MB / 1.032 GB, free: 15.46 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01145/0.9248, allocations: 3.123 MB / 1.035 GB, free: 12.33 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.007407/0.9322, allocations: 2.315 MB / 1.038 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008459/0.9407, allocations: 3.143 MB / 1.041 GB, free: 6.902 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003866/0.9446, allocations: 1.462 MB / 1.042 GB, free: 5.41 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004475/0.9491, allocations: 1.545 MB / 1.044 GB, free: 3.859 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.9516, allocations: 1.019 MB / 1.045 GB, free: 2.836 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0006174/0.9522, allocations: 80 kB / 1.045 GB, free: 2.758 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004082/0.9563, allocations: 1.295 MB / 1.046 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008084/0.9571, allocations: 458.2 kB / 1.046 GB, free: 1.012 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009461/0.9581, allocations: 464.5 kB / 1.047 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00425/0.9624, allocations: 2.728 MB / 1.049 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.9624, allocations: 8 kB / 1.049 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9624, allocations: 0 / 1.049 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.521e-05/0.9625, allocations: 0 / 1.049 GB, free: 13.81 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.005205/0.9677, allocations: 2.359 MB / 1.052 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.9678, allocations: 12.03 kB / 1.052 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004149/0.9682, allocations: 189.8 kB / 1.052 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006535/0.9747, allocations: 1.222 MB / 1.053 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005116/0.9799, allocations: 2.004 MB / 1.055 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/0.981, allocations: 344.2 kB / 1.055 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003945/0.9814, allocations: 124 kB / 1.056 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00495/0.9864, allocations: 1.871 MB / 1.057 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.9864, allocations: 3.984 kB / 1.057 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/0.9866, allocations: 51.95 kB / 1.057 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.9866, allocations: 32 kB / 1.057 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006005/0.9926, allocations: 2.016 MB / 1.059 GB, free: 3.363 MB / 0.8106 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.0153/1.008, allocations: 7.863 MB / 1.067 GB, free: 11.02 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004921/1.013, allocations: 1.483 MB / 1.069 GB, free: 9.527 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005554/1.019, allocations: 3.452 MB / 1.072 GB, free: 5.77 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/1.019, allocations: 39.12 kB / 1.072 GB, free: 5.723 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009618/1.02, allocations: 222.8 kB / 1.072 GB, free: 5.504 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=63): time 4.629e-06/1.02, allocations: 0 / 1.072 GB, free: 5.504 MB / 0.8263 GB Notification: Performance of matching and sorting (n=63): time 0.0124/1.032, allocations: 3.005 MB / 1.075 GB, free: 2.469 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/1.032, allocations: 59.97 kB / 1.075 GB, free: 2.398 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00354/1.036, allocations: 1.976 MB / 1.077 GB, free: 404 kB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.000217/1.036, allocations: 45.7 kB / 1.077 GB, free: 352 kB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008601/1.037, allocations: 0.9493 MB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/1.037, allocations: 228.8 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.037, allocations: 16 kB / 1.078 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.037, allocations: 345.9 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/1.04, allocations: 0.6929 MB / 1.079 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002476/1.042, allocations: 1.03 MB / 1.08 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/1.044, allocations: 0.7408 MB / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.044, allocations: 4 kB / 1.081 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.007708/1.052, allocations: 2.256 MB / 1.083 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.001481/1.054, allocations: 3.888 MB / 1.087 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/1.054, allocations: 15.92 kB / 1.087 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/1.055, allocations: 388.5 kB / 1.087 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/1.057, allocations: 359.5 kB / 1.088 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/1.059, allocations: 0.9973 MB / 1.089 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/1.062, allocations: 289.4 kB / 1.089 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003356/1.062, allocations: 76.03 kB / 1.089 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.062, allocations: 7.953 kB / 1.089 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007195/1.069, allocations: 1.995 MB / 1.091 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/1.069, allocations: 8 kB / 1.091 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/1.071, allocations: 401 kB / 1.091 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/1.072, allocations: 331.6 kB / 1.092 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/1.074, allocations: 1.009 MB / 1.093 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/1.077, allocations: 256.4 kB / 1.093 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/1.077, allocations: 71.95 kB / 1.093 GB, free: 15.4 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (113): * Single equations (assignments): 111 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001168/1.078, allocations: 0.5202 MB / 1.094 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/1.079, allocations: 201.5 kB / 1.094 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006852/1.086, allocations: 2.004 MB / 1.096 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/1.086, allocations: 15.92 kB / 1.096 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.086, allocations: 3.938 kB / 1.096 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.086, allocations: 0 / 1.096 GB, free: 12.64 MB / 0.8575 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 postOpt removeSimpleEquations (simulation): time 0.00955/1.095, allocations: 3.545 MB / 1.099 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/1.095, allocations: 4 kB / 1.099 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.096, allocations: 239.9 kB / 1.099 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/1.098, allocations: 384.5 kB / 1.1 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/1.098, allocations: 35.95 kB / 1.1 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/1.1, allocations: 0.9973 MB / 1.101 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/1.1, allocations: 0 / 1.101 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007294/1.107, allocations: 2.171 MB / 1.103 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/1.109, allocations: 454.1 kB / 1.103 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008381/1.11, allocations: 15.98 kB / 1.103 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002603/1.113, allocations: 227.7 kB / 1.104 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/1.113, allocations: 56.42 kB / 1.104 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/1.113, allocations: 47.95 kB / 1.104 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.004102/1.117, allocations: 1.368 MB / 1.105 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.81e-07/1.117, allocations: 0 / 1.105 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00591/1.123, allocations: 0.9942 MB / 1.106 GB, free: 1.867 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (64): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01054/1.134, allocations: 3.618 MB / 1.11 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01006/1.144, allocations: 2.636 MB / 1.112 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.144, allocations: 4.062 kB / 1.112 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003073/1.147, allocations: 0.8349 MB / 1.113 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005255/1.152, allocations: 0.9055 MB / 1.114 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/1.169, allocations: 11.45 MB / 1.125 GB, free: 14.09 MB / 0.8888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/1.171, allocations: 1.5 MB / 1.126 GB, free: 12.56 MB / 0.8888 GB Notification: Performance of simCode: alias equations: time 0.002996/1.174, allocations: 499.2 kB / 1.127 GB, free: 12.08 MB / 0.8888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.176, allocations: 0.8226 MB / 1.128 GB, free: 11.26 MB / 0.8888 GB Notification: Performance of SimCode: time 7.92e-07/1.176, allocations: 0 / 1.128 GB, free: 11.26 MB / 0.8888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/1.284, allocations: 57.64 MB / 1.184 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/1.284, allocations: 272.9 kB / 1.184 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.413/4.697, allocations: 3.938 kB / 1.184 GB, free: 1.934 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat does not exist to compare? outputFormat=mat