Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_11_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.003906/0.003906, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001111/0.001111, allocations: 192.4 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.245/1.245, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.293/2.293, allocations: 469.8 MB / 0.7425 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 63.89 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6347/0.6365, allocations: 159.1 MB / 1.22 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.07537/0.7119, allocations: 74.75 MB / 1.293 GB, free: 6.996 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02912/0.7411, allocations: 21.49 MB / 1.314 GB, free: 1.449 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002628/0.7437, allocations: 103.4 kB / 1.314 GB, free: 1.348 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004861/0.7486, allocations: 2.171 MB / 1.316 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006808/0.7554, allocations: 3.184 MB / 1.319 GB, free: 11.97 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004632/0.7601, allocations: 2.254 MB / 1.322 GB, free: 9.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.7703, allocations: 8.084 MB / 1.33 GB, free: 1.637 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002649/0.773, allocations: 2.013 MB / 1.332 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003971/0.777, allocations: 2.178 MB / 1.334 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.7788, allocations: 1.587 MB / 1.335 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003263/0.7792, allocations: 216 kB / 1.335 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/0.7828, allocations: 2.004 MB / 1.337 GB, free: 9.578 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007346/0.7836, allocations: 0.7826 MB / 1.338 GB, free: 8.793 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.7849, allocations: 1.411 MB / 1.339 GB, free: 7.375 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005398/0.7903, allocations: 4.472 MB / 1.344 GB, free: 2.887 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7904, allocations: 7.984 kB / 1.344 GB, free: 2.879 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7904, allocations: 0 / 1.344 GB, free: 2.879 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.069e-05/0.7904, allocations: 0 / 1.344 GB, free: 2.879 MB / 1.061 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.004939/0.7953, allocations: 3.304 MB / 1.347 GB, free: 15.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.7954, allocations: 12.03 kB / 1.347 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002111/0.7956, allocations: 185.9 kB / 1.347 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006092/0.8017, allocations: 1.161 MB / 1.348 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004622/0.8063, allocations: 3.006 MB / 1.351 GB, free: 11.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.8065, allocations: 156.1 kB / 1.352 GB, free: 10.9 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.8067, allocations: 131.9 kB / 1.352 GB, free: 10.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/0.8108, allocations: 1.924 MB / 1.354 GB, free: 8.773 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.8109, allocations: 0 / 1.354 GB, free: 8.773 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.811, allocations: 52 kB / 1.354 GB, free: 8.723 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.811, allocations: 32 kB / 1.354 GB, free: 8.691 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005589/0.8166, allocations: 2.059 MB / 1.356 GB, free: 6.625 MB / 1.076 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.01191/0.8285, allocations: 8.524 MB / 1.364 GB, free: 13.63 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004818/0.8334, allocations: 1.618 MB / 1.366 GB, free: 12 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/0.8354, allocations: 0.7363 MB / 1.366 GB, free: 11.26 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004759/0.8402, allocations: 3.863 MB / 1.37 GB, free: 7.09 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.8402, allocations: 39.12 kB / 1.37 GB, free: 7.043 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004658/0.8407, allocations: 123 kB / 1.37 GB, free: 6.922 MB / 1.092 GB Notification: Performance of pre-optimization done (n=57): time 1.673e-06/0.8407, allocations: 0 / 1.37 GB, free: 6.922 MB / 1.092 GB Notification: Performance of matching and sorting (n=57): time 0.01198/0.8527, allocations: 3.079 MB / 1.373 GB, free: 3.816 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.8528, allocations: 55.97 kB / 1.373 GB, free: 3.75 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.856, allocations: 2.665 MB / 1.376 GB, free: 1.07 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.571e-05/0.8561, allocations: 41.7 kB / 1.376 GB, free: 1.023 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000948/0.8571, allocations: 1.105 MB / 1.377 GB, free: 15.91 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.8573, allocations: 222.2 kB / 1.377 GB, free: 15.69 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004909/0.8578, allocations: 338.6 kB / 1.377 GB, free: 15.35 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8579, allocations: 305.1 kB / 1.378 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/0.8602, allocations: 0.9128 MB / 1.379 GB, free: 14.14 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/0.8629, allocations: 1.347 MB / 1.38 GB, free: 12.61 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004531/0.8675, allocations: 2.002 MB / 1.382 GB, free: 10.46 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.8675, allocations: 4 kB / 1.382 GB, free: 10.46 MB / 1.107 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.006789/0.8743, allocations: 2.753 MB / 1.385 GB, free: 7.691 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.8743, allocations: 10.03 kB / 1.385 GB, free: 7.684 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.8743, allocations: 12 kB / 1.385 GB, free: 7.672 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.8756, allocations: 0.5121 MB / 1.385 GB, free: 7.16 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.8771, allocations: 371.3 kB / 1.385 GB, free: 6.797 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.8793, allocations: 1.13 MB / 1.387 GB, free: 5.641 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.8811, allocations: 212.4 kB / 1.387 GB, free: 5.434 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.8812, allocations: 71.95 kB / 1.387 GB, free: 5.363 MB / 1.107 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.0007465/0.882, allocations: 0.5686 MB / 1.387 GB, free: 4.785 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/0.8823, allocations: 246.4 kB / 1.388 GB, free: 4.543 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006034/0.8884, allocations: 2.106 MB / 1.39 GB, free: 2.43 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.8884, allocations: 8 kB / 1.39 GB, free: 2.422 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8884, allocations: 0 / 1.39 GB, free: 2.422 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.8884, allocations: 3.984 kB / 1.39 GB, free: 2.418 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008448/0.8969, allocations: 4.095 MB / 1.394 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8969, allocations: 0 / 1.394 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.8979, allocations: 203.7 kB / 1.394 GB, free: 14.02 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/0.899, allocations: 0.4926 MB / 1.394 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/0.8991, allocations: 27.97 kB / 1.394 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.9013, allocations: 1.11 MB / 1.396 GB, free: 12.36 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9013, allocations: 4 kB / 1.396 GB, free: 12.35 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006427/0.9078, allocations: 2.194 MB / 1.398 GB, free: 10.1 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006642/0.9084, allocations: 0.4952 MB / 1.398 GB, free: 9.586 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/0.9087, allocations: 16 kB / 1.398 GB, free: 9.57 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.9102, allocations: 171.7 kB / 1.398 GB, free: 9.402 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.9104, allocations: 52.44 kB / 1.398 GB, free: 9.348 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-05/0.9105, allocations: 43.95 kB / 1.398 GB, free: 9.305 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002399/0.9129, allocations: 1.831 MB / 1.4 GB, free: 7.473 MB / 1.123 GB Notification: Performance of sort global known variables: time 2e-07/0.9129, allocations: 0 / 1.4 GB, free: 7.473 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001586/0.9145, allocations: 0.7485 MB / 1.401 GB, free: 6.723 MB / 1.123 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.008007/0.9225, allocations: 3.344 MB / 1.404 GB, free: 3.328 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005446/0.9279, allocations: 1.987 MB / 1.406 GB, free: 1.336 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9279, allocations: 8.125 kB / 1.406 GB, free: 1.328 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002682/0.9306, allocations: 0.8468 MB / 1.407 GB, free: 496 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/0.9347, allocations: 1.159 MB / 1.408 GB, free: 15.35 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0349/0.9697, allocations: 20.03 MB / 1.428 GB, free: 10.75 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.971, allocations: 1.629 MB / 1.429 GB, free: 9.09 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001436/0.9724, allocations: 471.2 kB / 1.43 GB, free: 8.633 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.9737, allocations: 0.9835 MB / 1.431 GB, free: 7.652 MB / 1.154 GB Notification: Performance of SimCode: time 3.11e-07/0.9737, allocations: 0 / 1.431 GB, free: 7.652 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5067/1.48, allocations: 66.92 MB / 1.496 GB, free: 5.566 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.54/26.02, allocations: 3.984 kB / 1.496 GB, free: 5.562 MB / 1.217 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)