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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007824/0.007824, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001879/0.001878, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.562/2.562, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 67.89 kB / 1.083 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6662/0.6681, allocations: 162.3 MB / 1.242 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05257/0.7207, allocations: 53.56 MB / 1.294 GB, free: 11.42 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.7365, allocations: 11.51 MB / 1.305 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.7383, allocations: 63.62 kB / 1.305 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.7403, allocations: 0.7567 MB / 1.306 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005317/0.7456, allocations: 2.164 MB / 1.308 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003222/0.7489, allocations: 1.378 MB / 1.31 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005076/0.754, allocations: 3.934 MB / 1.313 GB, free: 7.566 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.7558, allocations: 1.29 MB / 1.315 GB, free: 6.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.7592, allocations: 1.591 MB / 1.316 GB, free: 4.656 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.7606, allocations: 1.066 MB / 1.317 GB, free: 3.586 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.7608, allocations: 140 kB / 1.317 GB, free: 3.449 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.763, allocations: 1.03 MB / 1.318 GB, free: 2.418 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004372/0.7634, allocations: 446.5 kB / 1.319 GB, free: 1.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009024/0.7643, allocations: 0.8551 MB / 1.32 GB, free: 1.121 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00345/0.7678, allocations: 2.593 MB / 1.322 GB, free: 14.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7678, allocations: 4 kB / 1.322 GB, free: 14.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7678, allocations: 0 / 1.322 GB, free: 14.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.767e-05/0.7679, allocations: 0 / 1.322 GB, free: 14.52 MB / 1.045 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.00338/0.7712, allocations: 2.067 MB / 1.324 GB, free: 12.39 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.7713, allocations: 12.03 kB / 1.324 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.7715, allocations: 143.8 kB / 1.324 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003275/0.7747, allocations: 0.5812 MB / 1.325 GB, free: 11.65 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.777, allocations: 1.416 MB / 1.326 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.7771, allocations: 119.7 kB / 1.327 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.7773, allocations: 92 kB / 1.327 GB, free: 9.969 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/0.7802, allocations: 1.358 MB / 1.328 GB, free: 8.574 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.7802, allocations: 0 / 1.328 GB, free: 8.574 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.92e-05/0.7803, allocations: 39.94 kB / 1.328 GB, free: 8.535 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.7804, allocations: 24 kB / 1.328 GB, free: 8.512 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003729/0.7841, allocations: 1.429 MB / 1.329 GB, free: 7.082 MB / 1.045 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.007809/0.7919, allocations: 5.383 MB / 1.335 GB, free: 1.449 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/0.7948, allocations: 1.064 MB / 1.336 GB, free: 384 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.7964, allocations: 0.6037 MB / 1.336 GB, free: 15.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000825/0.7972, allocations: 1.073 MB / 1.337 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001736/0.799, allocations: 0.6783 MB / 1.338 GB, free: 13.76 MB / 1.061 GB Notification: Performance of pre-optimization done (n=60): time 2.585e-06/0.799, allocations: 3.938 kB / 1.338 GB, free: 13.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=60): time 0.005033/0.804, allocations: 1.759 MB / 1.34 GB, free: 12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.8041, allocations: 59.97 kB / 1.34 GB, free: 11.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.8059, allocations: 1.409 MB / 1.341 GB, free: 10.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.119e-05/0.806, allocations: 41.7 kB / 1.341 GB, free: 10.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/0.8066, allocations: 0.6549 MB / 1.342 GB, free: 9.797 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.8068, allocations: 218.2 kB / 1.342 GB, free: 9.582 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.8071, allocations: 170.5 kB / 1.342 GB, free: 9.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8073, allocations: 334 kB / 1.342 GB, free: 9.078 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.8089, allocations: 0.5484 MB / 1.343 GB, free: 8.527 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.8106, allocations: 0.7574 MB / 1.344 GB, free: 7.695 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003162/0.8138, allocations: 1.197 MB / 1.345 GB, free: 6.434 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.8138, allocations: 0 / 1.345 GB, free: 6.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003936/0.8177, allocations: 1.441 MB / 1.346 GB, free: 4.984 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.8178, allocations: 8 kB / 1.346 GB, free: 4.977 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.8178, allocations: 7.984 kB / 1.346 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.8178, allocations: 8 kB / 1.346 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.819, allocations: 252 kB / 1.347 GB, free: 4.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.8191, allocations: 12 kB / 1.347 GB, free: 4.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.8205, allocations: 191.1 kB / 1.347 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-05/0.8206, allocations: 39.97 kB / 1.347 GB, free: 4.477 MB / 1.061 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.0006208/0.8212, allocations: 354.5 kB / 1.347 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003299/0.8215, allocations: 155 kB / 1.347 GB, free: 3.969 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/0.8254, allocations: 1.418 MB / 1.349 GB, free: 2.539 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.8254, allocations: 8 kB / 1.349 GB, free: 2.531 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8254, allocations: 0 / 1.349 GB, free: 2.531 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003337/0.8288, allocations: 1.271 MB / 1.35 GB, free: 1.227 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006631/0.8354, allocations: 2.958 MB / 1.353 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.8355, allocations: 0 / 1.353 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.8366, allocations: 207.8 kB / 1.353 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.8366, allocations: 4 kB / 1.353 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.827e-05/0.8367, allocations: 23.98 kB / 1.353 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/0.8367, allocations: 11.92 kB / 1.353 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.8368, allocations: 3.938 kB / 1.353 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005632/0.8424, allocations: 2.235 MB / 1.355 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007137/0.8431, allocations: 355.8 kB / 1.356 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/0.8434, allocations: 20.08 kB / 1.356 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.8447, allocations: 119.8 kB / 1.356 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.8449, allocations: 60.42 kB / 1.356 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/0.845, allocations: 39.97 kB / 1.356 GB, free: 11.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001602/0.8466, allocations: 0.9908 MB / 1.357 GB, free: 10.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8466, allocations: 0 / 1.357 GB, free: 10.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001324/0.8479, allocations: 463.1 kB / 1.357 GB, free: 9.605 MB / 1.076 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.006706/0.8546, allocations: 3.144 MB / 1.36 GB, free: 6.426 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003545/0.8582, allocations: 1.281 MB / 1.362 GB, free: 5.141 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8582, allocations: 0 / 1.362 GB, free: 5.141 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001753/0.86, allocations: 0.6558 MB / 1.362 GB, free: 4.484 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/0.8633, allocations: 0.7555 MB / 1.363 GB, free: 3.746 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/0.887, allocations: 12.34 MB / 1.375 GB, free: 7.105 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009766/0.888, allocations: 1.232 MB / 1.376 GB, free: 5.84 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001346/0.8893, allocations: 307.4 kB / 1.376 GB, free: 5.535 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000901/0.8902, allocations: 0.5656 MB / 1.377 GB, free: 4.969 MB / 1.092 GB Notification: Performance of SimCode: time 8.72e-07/0.8903, allocations: 0 / 1.377 GB, free: 4.969 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.658/3.548, allocations: 42.56 MB / 1.419 GB, free: 10.9 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/16.56, allocations: 11.08 kB / 1.419 GB, free: 10.9 MB / 1.139 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=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)