Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009152/0.0009148, allocations: 170.3 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205 MB / 0.576 GB, free: 20.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008049/0.0008048, allocations: 93.17 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002935, allocations: 13.83 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1554, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.03613/0.1916, allocations: 52.82 MB / 0.9478 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01265/0.2043, allocations: 11.43 MB / 0.9589 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.2064, allocations: 55.62 kB / 0.959 GB, free: 3.555 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.2083, allocations: 0.6216 MB / 0.9596 GB, free: 2.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004635/0.213, allocations: 1.975 MB / 0.9615 GB, free: 0.9453 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002789/0.2158, allocations: 1.207 MB / 0.9627 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004927/0.2207, allocations: 5.024 MB / 0.9676 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.2221, allocations: 1.048 MB / 0.9686 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.224, allocations: 1.178 MB / 0.9698 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.2252, allocations: 1.046 MB / 0.9708 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.2253, allocations: 52 kB / 0.9709 GB, free: 7.348 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.2275, allocations: 0.9314 MB / 0.9718 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.2279, allocations: 346.5 kB / 0.9721 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0007329/0.2286, allocations: 0.7497 MB / 0.9728 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.2314, allocations: 2.433 MB / 0.9752 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2314, allocations: 0 / 0.9752 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2314, allocations: 0 / 0.9752 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.2315, allocations: 4 kB / 0.9752 GB, free: 2.875 MB / 0.6198 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.002775/0.2342, allocations: 1.726 MB / 0.9769 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2343, allocations: 8.031 kB / 0.9769 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.2345, allocations: 143.8 kB / 0.977 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/0.2378, allocations: 0.6272 MB / 0.9776 GB, free: 316 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.2398, allocations: 1.356 MB / 0.979 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.2399, allocations: 115.7 kB / 0.9791 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.24, allocations: 96 kB / 0.9792 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.2429, allocations: 1.377 MB / 0.9805 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.243, allocations: 7.938 kB / 0.9805 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.063e-05/0.2431, allocations: 36 kB / 0.9806 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.2431, allocations: 27.98 kB / 0.9806 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/0.2469, allocations: 1.499 MB / 0.982 GB, free: 11.7 MB / 0.6355 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.0074/0.2543, allocations: 5.385 MB / 0.9873 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.2572, allocations: 1.111 MB / 0.9884 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.2588, allocations: 0.6458 MB / 0.989 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/0.2595, allocations: 1.073 MB / 0.9901 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/0.2613, allocations: 0.7018 MB / 0.9908 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 2.675e-06/0.2613, allocations: 0 / 0.9908 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.004992/0.2663, allocations: 1.86 MB / 0.9926 GB, free: 408 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.2663, allocations: 63.95 kB / 0.9926 GB, free: 332 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.268, allocations: 1.389 MB / 0.994 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-05/0.2681, allocations: 37.7 kB / 0.994 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005251/0.2687, allocations: 0.6461 MB / 0.9947 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.2689, allocations: 209 kB / 0.9949 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.269, allocations: 65.69 kB / 0.9949 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2691, allocations: 338 kB / 0.9952 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.2707, allocations: 0.5914 MB / 0.9958 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.2725, allocations: 0.7887 MB / 0.9966 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/0.2757, allocations: 1.26 MB / 0.9978 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2757, allocations: 0 / 0.9978 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003829/0.2795, allocations: 1.514 MB / 0.9993 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2795, allocations: 8 kB / 0.9993 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.2796, allocations: 4.438 kB / 0.9993 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.2796, allocations: 12 kB / 0.9993 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.2808, allocations: 263.6 kB / 0.9996 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.2808, allocations: 11.98 kB / 0.9996 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.2823, allocations: 238.8 kB / 0.9998 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.259e-05/0.2824, allocations: 39.97 kB / 0.9999 GB, free: 8.734 MB / 0.6511 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.0005945/0.283, allocations: 361.5 kB / 1 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.2832, allocations: 150.1 kB / 1 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/0.2869, allocations: 1.493 MB / 1.002 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.2869, allocations: 8 kB / 1.002 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2869, allocations: 0 / 1.002 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003186/0.2901, allocations: 1.333 MB / 1.003 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00548/0.2956, allocations: 3.023 MB / 1.006 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.2956, allocations: 0 / 1.006 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.2968, allocations: 223.8 kB / 1.006 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.2968, allocations: 4 kB / 1.006 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/0.2969, allocations: 31.97 kB / 1.006 GB, free: 1.984 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.2969, allocations: 4 kB / 1.006 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2969, allocations: 7.938 kB / 1.006 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005263/0.3021, allocations: 2.324 MB / 1.009 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005574/0.3027, allocations: 355 kB / 1.009 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.3029, allocations: 16 kB / 1.009 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.3042, allocations: 163.7 kB / 1.009 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.3043, allocations: 56.38 kB / 1.009 GB, free: 15 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.892e-05/0.3044, allocations: 39.95 kB / 1.009 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001211/0.3056, allocations: 0.9749 MB / 1.01 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3056, allocations: 0 / 1.01 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00112/0.3067, allocations: 447.4 kB / 1.011 GB, free: 13.55 MB / 0.6667 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.006208/0.313, allocations: 3.217 MB / 1.014 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003427/0.3164, allocations: 1.348 MB / 1.015 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3164, allocations: 0 / 1.015 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.3181, allocations: 0.691 MB / 1.016 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/0.3216, allocations: 0.7479 MB / 1.016 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02432/0.3459, allocations: 13.85 MB / 1.03 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007628/0.3467, allocations: 1.221 MB / 1.031 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001361/0.3481, allocations: 302.7 kB / 1.031 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007927/0.3489, allocations: 0.5617 MB / 1.032 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of SimCode: time 1.011e-06/0.3489, allocations: 0 / 1.032 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5787/0.9276, allocations: 41.25 MB / 1.072 GB, free: 140.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.9278, allocations: 260.3 kB / 1.073 GB, free: 140.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.083/4.011, allocations: 0 / 1.073 GB, free: 140.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)