Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_11_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.004662/0.004662, allocations: 101.1 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.001357/0.001357, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.375/2.375, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 67.89 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6326/0.6344, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05368/0.6881, allocations: 53.46 MB / 1.272 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0152/0.7033, allocations: 11.51 MB / 1.284 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.7043, allocations: 59.69 kB / 1.284 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.7059, allocations: 0.7645 MB / 1.284 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004007/0.7099, allocations: 2.155 MB / 1.287 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.7126, allocations: 1.383 MB / 1.288 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004054/0.7167, allocations: 3.93 MB / 1.292 GB, free: 8.547 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.7182, allocations: 1.276 MB / 1.293 GB, free: 7.238 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.7205, allocations: 1.42 MB / 1.294 GB, free: 5.824 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.7217, allocations: 1.077 MB / 1.295 GB, free: 4.742 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.7219, allocations: 140 kB / 1.296 GB, free: 4.605 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.7238, allocations: 1.041 MB / 1.297 GB, free: 3.562 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004155/0.7242, allocations: 442.5 kB / 1.297 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007866/0.725, allocations: 0.8551 MB / 1.298 GB, free: 2.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.7279, allocations: 2.591 MB / 1.3 GB, free: 15.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7279, allocations: 4 kB / 1.3 GB, free: 15.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7279, allocations: 0 / 1.3 GB, free: 15.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.7279, allocations: 0 / 1.3 GB, free: 15.67 MB / 1.029 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.003185/0.7311, allocations: 2.075 MB / 1.302 GB, free: 13.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.7312, allocations: 12.03 kB / 1.302 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.7314, allocations: 139.8 kB / 1.302 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.7345, allocations: 0.5774 MB / 1.303 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.7366, allocations: 1.419 MB / 1.304 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.7367, allocations: 115.7 kB / 1.305 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.7369, allocations: 96 kB / 1.305 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/0.7396, allocations: 1.362 MB / 1.306 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.7397, allocations: 0 / 1.306 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.7398, allocations: 36 kB / 1.306 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/0.7398, allocations: 24 kB / 1.306 GB, free: 9.656 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00363/0.7435, allocations: 1.429 MB / 1.307 GB, free: 8.227 MB / 1.029 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.007384/0.7508, allocations: 5.364 MB / 1.313 GB, free: 2.609 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/0.7538, allocations: 1.085 MB / 1.314 GB, free: 1.523 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.7553, allocations: 0.5958 MB / 1.314 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008468/0.7562, allocations: 1.069 MB / 1.315 GB, free: 15.61 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/0.758, allocations: 0.6783 MB / 1.316 GB, free: 14.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 1.653e-06/0.758, allocations: 0 / 1.316 GB, free: 14.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.005058/0.7631, allocations: 1.759 MB / 1.318 GB, free: 13.16 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.7631, allocations: 59.97 kB / 1.318 GB, free: 13.09 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.7648, allocations: 1.417 MB / 1.319 GB, free: 11.66 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.7649, allocations: 37.7 kB / 1.319 GB, free: 11.62 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005702/0.7655, allocations: 0.651 MB / 1.32 GB, free: 10.96 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.7657, allocations: 218.2 kB / 1.32 GB, free: 10.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.766, allocations: 166.5 kB / 1.32 GB, free: 10.58 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.7661, allocations: 337.9 kB / 1.321 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.7677, allocations: 0.5523 MB / 1.321 GB, free: 9.691 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.7694, allocations: 0.7574 MB / 1.322 GB, free: 8.859 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.7725, allocations: 1.193 MB / 1.323 GB, free: 7.598 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.7726, allocations: 0 / 1.323 GB, free: 7.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003607/0.7762, allocations: 1.445 MB / 1.324 GB, free: 6.145 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.7762, allocations: 8 kB / 1.324 GB, free: 6.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.7762, allocations: 4 kB / 1.324 GB, free: 6.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.7762, allocations: 12.44 kB / 1.324 GB, free: 6.121 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.7774, allocations: 247.6 kB / 1.325 GB, free: 5.879 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.7774, allocations: 11.94 kB / 1.325 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.7786, allocations: 195.1 kB / 1.325 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/0.7787, allocations: 39.97 kB / 1.325 GB, free: 5.637 MB / 1.045 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.0004646/0.7791, allocations: 353.6 kB / 1.325 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.7794, allocations: 155 kB / 1.325 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/0.783, allocations: 1.411 MB / 1.327 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.7831, allocations: 11.98 kB / 1.327 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.7831, allocations: 4 kB / 1.327 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003207/0.7863, allocations: 1.267 MB / 1.328 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00559/0.7919, allocations: 2.969 MB / 1.331 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7919, allocations: 3.938 kB / 1.331 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.793, allocations: 199.9 kB / 1.331 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.7931, allocations: 4 kB / 1.331 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/0.7931, allocations: 27.97 kB / 1.331 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.7931, allocations: 4 kB / 1.331 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.7931, allocations: 7.875 kB / 1.331 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005371/0.7985, allocations: 2.235 MB / 1.333 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004951/0.799, allocations: 371.8 kB / 1.334 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.7992, allocations: 16.16 kB / 1.334 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.8004, allocations: 123.8 kB / 1.334 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.8005, allocations: 48.44 kB / 1.334 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.951e-05/0.8006, allocations: 39.95 kB / 1.334 GB, free: 12.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001297/0.8019, allocations: 0.9908 MB / 1.335 GB, free: 11.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8019, allocations: 0 / 1.335 GB, free: 11.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001078/0.803, allocations: 475 kB / 1.335 GB, free: 10.75 MB / 1.061 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.006418/0.8094, allocations: 3.12 MB / 1.338 GB, free: 7.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003399/0.8128, allocations: 1.281 MB / 1.34 GB, free: 6.309 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8129, allocations: 384 / 1.34 GB, free: 6.309 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.8146, allocations: 0.6593 MB / 1.34 GB, free: 5.652 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/0.8176, allocations: 0.7658 MB / 1.341 GB, free: 4.906 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01999/0.8376, allocations: 12.34 MB / 1.353 GB, free: 8.262 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008495/0.8384, allocations: 1.236 MB / 1.354 GB, free: 6.996 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009706/0.8394, allocations: 303.4 kB / 1.355 GB, free: 6.695 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008302/0.8403, allocations: 0.5656 MB / 1.355 GB, free: 6.129 MB / 1.076 GB Notification: Performance of SimCode: time 4.2e-07/0.8403, allocations: 4 kB / 1.355 GB, free: 6.125 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3372/1.177, allocations: 42.57 MB / 1.397 GB, free: 12.05 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.97, allocations: 3.281 kB / 1.397 GB, free: 12.05 MB / 1.123 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)